Oliver Heger created CONFIGURATION-495:
------------------------------------------

             Summary: 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


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

        

Reply via email to