Issue Details (XML | Word | Printable)

Key: CONFIGURATION-346
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Oliver Heger
Reporter: Oliver Heger
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Commons Configuration

ConfigurationUtils.convertToHierarchical() does not correctly handle properties with multiple values

Created: 03/Nov/08 08:51 PM   Updated: 22/Aug/09 07:36 PM
Return to search
Component/s: None
Affects Version/s: 1.5
Fix Version/s: 1.6

Time Tracking:
Not Specified

Resolution Date: 03/Nov/08 09:12 PM


 Description  « Hide
If a property has multiple values, the resulting hierarchical configuration will contain a node whose value is a list with these values. There should, however, be a single node for each value. Some queries, especially those containing indices, do not work on such structures.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #710159 Mon Nov 03 21:07:27 UTC 2008 oheger CONFIGURATION-346: ConfigurationUtils.convertToHierarchical() now correctly deals with multi-valued properties.
Files Changed
MODIFY /commons/proper/configuration/trunk/src/test/org/apache/commons/configuration/TestConfigurationUtils.java
MODIFY /commons/proper/configuration/trunk/xdocs/changes.xml
MODIFY /commons/proper/configuration/trunk/src/java/org/apache/commons/configuration/ConfigurationUtils.java

Oliver Heger added a comment - 03/Nov/08 09:12 PM
Fixed in revision 710159.

Oliver Heger made changes - 03/Nov/08 09:12 PM
Field Original Value New Value
Fix Version/s 1.6 [ 12312450 ]
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Oliver Heger made changes - 22/Aug/09 07:36 PM
Status Resolved [ 5 ] Closed [ 6 ]