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:47:00 UTC

[jira] [Created] (FELIX-6560) Interpolation of embedded arrays does not work

Carsten Ziegeler created FELIX-6560:
---------------------------------------

             Summary: 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
             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)