You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2022/08/09 09:48:00 UTC
[jira] [Resolved] (FELIX-6560) Interpolation of embedded arrays does not work
[ https://issues.apache.org/jira/browse/FELIX-6560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved FELIX-6560.
-------------------------------------
Resolution: Fixed
Fixed in https://github.com/apache/felix-dev/commit/6603d69977f4cea8b9b9dd2faf5d320906b43368
> Interpolation of embedded arrays does not work
> ----------------------------------------------
>
> Key: FELIX-6560
> URL: https://issues.apache.org/jira/browse/FELIX-6560
> Project: Felix
> Issue Type: Bug
> Components: Configuration Admin
> Affects Versions: configadmin-interpolation-plugin-1.2.4
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Priority: Major
> Fix For: configadmin-interpolation-plugin-1.2.6
>
>
> If a configuration property is already a string array, and at least one of the values contains a placeholder which gets replaced with an array, then the resulting array should contain these array values as separate values.
> Right now, the array value will be a string array.
> For example:
> property=[ "1000", "$[prop:foo;type=String[];delimiter=,]", "4000"]
> with foo="2000,3000"
> should result in ["1000", "2000", "3000", "4000"]
> Right now it results in
> ["1000", ["2000", "3000"], "4000"]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)