]
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.