Uploaded image for project: 'Commons Configuration'
  1. Commons Configuration
  2. CONFIGURATION-445

XMLConfiguration save gives wrong xml when it contains combined elements (viewNode) with attributes

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7
    • Component/s: None
    • Labels:
      None

      Description

      when creating a CombinedConfiguration with an overridecombiner I get into trouble when I need to generate a xml file from te resulting view. It seems that the viewNodes which are created do not handle the parent of the attributes correctly.
      So when saving this configuration the attributes get lost and attached to the rootnode.

      I made a unit test and will attach the following files :

      • component1.xml
      • component1_spec.xml
      • AttributeTest.java
      • log output

        Attachments

        1. component1.xml
          0.2 kB
          jo desmet
        2. component1_spec.xml
          0.1 kB
          jo desmet
        3. AttributeTest.java
          1 kB
          jo desmet

          Activity

            People

            • Assignee:
              oheger Oliver Heger
              Reporter:
              jdmc562 jo desmet
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: