commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Heger (JIRA)" <>
Subject [jira] [Commented] (CONFIGURATION-633) Interpolation with multi-valued properties does not work
Date Thu, 26 May 2016 16:18:12 GMT


Oliver Heger commented on CONFIGURATION-633:

If a property value consists of multiple variables or a variable embedded into other content,
there is probably no way around a string-based substitution. But if only a single variable
is referenced, the interpolation should result in the real value of this variable and not
force a string conversion.

> Interpolation with multi-valued properties does not work
> --------------------------------------------------------
>                 Key: CONFIGURATION-633
>                 URL:
>             Project: Commons Configuration
>          Issue Type: Bug
>          Components: Interpolation
>    Affects Versions: 2.0
>            Reporter: Oliver Heger
> In the current implementation (making use of commons lang's {{StrSubstitutor}}, interpolation
is alway string-based. This works well for primitive property values, but not if a property
has multiple values. A variable referencing such a property is replaced by the string-representation
of the list of values.

This message was sent by Atlassian JIRA

View raw message