[jboss-jira] [JBoss JIRA] (ELY-1637) Change ReferralMode.toString to return value

Darran Lofthouse (JIRA) issues at jboss.org
Mon Aug 13 04:04:00 EDT 2018


    [ https://issues.jboss.org/browse/ELY-1637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13617992#comment-13617992 ] 

Darran Lofthouse commented on ELY-1637:
---------------------------------------

Regarding broken tests, the most important requirement that must stick to is configuration that was previously valid must still be usable on the later WildFly Release - if the test breakage is just due to coarse XML comparisons not expecting the case to change those we can deal with.

> Change ReferralMode.toString to return value
> --------------------------------------------
>
>                 Key: ELY-1637
>                 URL: https://issues.jboss.org/browse/ELY-1637
>             Project: WildFly Elytron
>          Issue Type: Enhancement
>            Reporter: Philippe Marschall
>            Assignee: Darran Lofthouse
>
> The documentation of the referral-mode attribute in WildFly says the allowed values should be "ignore", "follow", "throw". However they are currently serialized as "IGNORE", "FOLLOW", "THROW". This is a WildFly issue and not an Elytron issue.
> However as part of the discussion on how to best fix WFCORE-3971 the easiest solution seems to be to change {{ReferralMode#toString()}}, that way the parser does not have to change.
> Once WildFly upgrades to a version of Elytron with this change a couple of tests will fail as the serialized model will intentionally change.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list