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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7
    • None
    • 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. AttributeTest.java
          1 kB
          jo desmet
        2. component1_spec.xml
          0.1 kB
          jo desmet
        3. component1.xml
          0.2 kB
          jo desmet

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: