Alex Lopashev created CONFIGURATION-617: -------------------------------------------
Summary: Incorrect multi-valued property substitution Key: CONFIGURATION-617 URL: https://issues.apache.org/jira/browse/CONFIGURATION-617 Project: Commons Configuration Issue Type: Bug Components: Interpolation Affects Versions: 1.10 Reporter: Alex Lopashev According to [AbstractConfiguration#resolveContainerStore|http://grepcode.com/file/repo1.maven.org/maven2/commons-configuration/commons-configuration/1.10/org/apache/commons/configuration/AbstractConfiguration.java#AbstractConfiguration.resolveContainerStore%28java.lang.String%29] code and documentation it uses only first value if array/collection property value. Such behavior is broken in a trivial situation: {{a=1,2,3}} {{b=$\{a\}}} ⇒ {{b=1}} The solution will be to stop using logic in {{resolveContainerStore(String key)}} and just use {{getProperty(key)}}. -- This message was sent by Atlassian JIRA (v6.3.4#6332)