[jboss-jira] [JBoss JIRA] (WFCORE-2557) Can not parse 2 complex attributes with same XML element name in 2 different attribute groups

Tomaz Cerar (JIRA) issues at jboss.org
Fri Mar 17 10:51:00 EDT 2017


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

Tomaz Cerar commented on WFCORE-2557:
-------------------------------------

Tnx [~jmesnil] Will prepare a fix asap.

> Can not parse 2 complex attributes with same XML element name in 2 different attribute groups
> ---------------------------------------------------------------------------------------------
>
>                 Key: WFCORE-2557
>                 URL: https://issues.jboss.org/browse/WFCORE-2557
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 3.0.0.Beta9
>            Reporter: Jeff Mesnil
>            Assignee: Tomaz Cerar
>
> This issue is a followup on WFLY-8021 where there was 2 complex attributes on the same resource:
> - target-credential-reference (attribute group = target, xml element name = credential-reference)
> - source-credential-reference (attribute group = source, xml element name = credential-reference)
> with the corresponding XML structure:
> {code}
> <jms-bridge name="myBridge" ...>
>    <source ...>
>         <credential-reference clear-text="passwordOut!"/>
>    </source>
>    <target ...>
>         <credential-reference clear-text="passwordOut!"/>
>    </target>
> </jms-bridge>
> {code}
> The parser fails to parse the source-credential-reference as the persistent XML description elementsAttribute map has a single entry for the credential-reference key that point to the target-credential-reference attribute.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list