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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Nightly Builds
    • 1.0
    • None
    • None
    • Operating System: All
      Platform: All

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: