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

[configuration] ConfigurationConverter.getProperties() doesn't convert Lists properly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Nightly Builds
    • Fix Version/s: 1.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Bugzilla Id:
      29607

      Description

      The method getProperties(Configuration) in the ConfigurationConverter class is
      not covered by our tests, and guess what, it is broken The javadoc for this
      method states that multivalue keys are collapsed by Configuration.getString, but
      getString returns only the first element of the list. That means the resulting
      Properties is incomplete, list objects in the initial Configuration are not
      stored as a comma separated value in the Properties as documented.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ebourg Emmanuel Bourg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: