commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29607] New: - [configuration] ConfigurationConverter.getProperties() doesn't convert Lists properly
Date Wed, 16 Jun 2004 14:46:33 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29607>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29607

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

           Summary: [configuration] ConfigurationConverter.getProperties()
                    doesn't convert Lists properly
           Product: Commons
           Version: Nightly Builds
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Configuration
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: smanux@lfjr.net


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.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message