You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Oliver Heger (JIRA)" <ji...@apache.org> on 2012/04/26 08:15:26 UTC

[jira] [Resolved] (CONFIGURATION-495) If delimiter parsing is disabled, adding of list properties to an AbstractConfiguration does not work correctly

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

Oliver Heger resolved CONFIGURATION-495.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.9

Fixed in subversion in revision 1330666.
                
> If delimiter parsing is disabled, adding of list properties to an AbstractConfiguration does not work correctly
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: CONFIGURATION-495
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-495
>             Project: Commons Configuration
>          Issue Type: Bug
>    Affects Versions: 1.8
>            Reporter: Oliver Heger
>             Fix For: 1.9
>
>
> When calling addProperty() or setProperty() with a collection or an array as value it is expected that the single elements are added rather than the container. However, if delimiter parsing is disabled, this check is not performed, and the complex value is directly added. This causes strange effects, for instance when the configuration is saved: then the complex value is just converted to a string. Loading the same configuration again will then produce different values for those properties.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira