[jira] Created: (CONFIGURATION-346) ConfigurationUtils.convertToHierarchical() does not correctly handle properties with multiple values

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (CONFIGURATION-346) ConfigurationUtils.convertToHierarchical() does not correctly handle properties with multiple values

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

                 Key: CONFIGURATION-346
                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-346
             Project: Commons Configuration
          Issue Type: Bug
    Affects Versions: 1.5
            Reporter: Oliver Heger
            Assignee: Oliver Heger


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.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (CONFIGURATION-346) ConfigurationUtils.convertToHierarchical() does not correctly handle properties with multiple values

AD_LB (Jira)

     [ https://issues.apache.org/jira/browse/CONFIGURATION-346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oliver Heger resolved CONFIGURATION-346.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6

Fixed in revision 710159.

> ConfigurationUtils.convertToHierarchical() does not correctly handle properties with multiple values
> ----------------------------------------------------------------------------------------------------
>
>                 Key: CONFIGURATION-346
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-346
>             Project: Commons Configuration
>          Issue Type: Bug
>    Affects Versions: 1.5
>            Reporter: Oliver Heger
>            Assignee: Oliver Heger
>             Fix For: 1.6
>
>
> 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.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.