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

Remove support for attribute splitting in XMLConfiguration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.9
    • 2.0
    • None
    • None

    Description

      Currently XMLConfiguration allows setting multiple values for an attribute node. (This is possible through the Configuration interface, but of course not supported by XML.) When saving the configuration it tries to encode the list as a comma-separated string. On reloading, such strings are split again.

      The implementation of this feature is pretty complex because points like escaping delimiter characters have to be taken into account. I doubt that it works in a reliable way in all possible constellations. OTOH, I don't think that this functionality provides much value to users.

      This ticket is about removing this feature. It will still be possible to add and query multiple values of an attribute as long as the configuration is in memory. When saving, attribute values are checked. If there are multiple values, an exception is thrown.

      Attachments

        Activity

          People

            oheger Oliver Heger
            oheger Oliver Heger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: