Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-2557

Can not parse 2 complex attributes with same XML element name in 2 different attribute groups

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.0.Beta11
    • 3.0.0.Beta9
    • Management
    • None

      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:

      <jms-bridge name="myBridge" ...>
         <source ...>
              <credential-reference clear-text="passwordOut!"/>
         </source>
         <target ...>
              <credential-reference clear-text="passwordOut!"/>
         </target>
      </jms-bridge>
      

      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.

              tomazcerar Tomaž Cerar (Inactive)
              jmesnil1@redhat.com Jeff Mesnil
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: