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 2016/05/27 18:46:13 UTC

[jira] [Resolved] (CONFIGURATION-632) Composite configuration list variable interpolation return first element only

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

Oliver Heger resolved CONFIGURATION-632.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.1

A fix has been applied to SVN. Together with the fix for CONFIGURATION-633 interpolation should now work for variables referencing properties with multiple values.

However, the current implementation is still limited and does not handle all possible constellations. For instance, if elements in the referenced list or array contain variables themselves, those will not be replaced. Let's wait until anybody actually needs this functionality.

> Composite configuration list variable interpolation return first element only
> -----------------------------------------------------------------------------
>
>                 Key: CONFIGURATION-632
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-632
>             Project: Commons Configuration
>          Issue Type: Bug
>          Components: Interpolation
>    Affects Versions: 1.9, 2.0
>         Environment: linux
>            Reporter: Philippe Perrault
>             Fix For: 2.1
>
>
> CompositeConfiguration.getStringArray, with variable interpolation returns only the first element of the list
> e.g.
> key1=a,b,c
> key2=${key1}
> CompositeConfiguration.getStringArray(key2) = a



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)