commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Heger (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CONFIGURATION-632) Composite configuration list variable interpolation return first element only
Date Fri, 27 May 2016 18:46:13 GMT

     [ 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)

Mime
View raw message