[jboss-jira] [JBoss JIRA] (WFCORE-2557) Can not parse 2 complex attributes with same XML element name in 2 different attribute groups
Jeff Mesnil (JIRA)
issues at jboss.org
Fri Mar 17 09:50:00 EDT 2017
[ https://issues.jboss.org/browse/WFCORE-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13380320#comment-13380320 ]
Jeff Mesnil commented on WFCORE-2557:
-------------------------------------
[~ctomc] I wrote a test case to reproduce the issue in wildfly-core test suite: https://github.com/jmesnil/wildfly-core/tree/WFCORE-2557_complex_attribute_parser
> 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: Brian Stansberry
>
> 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