You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "A. J. David Bosschaert (Jira)" <ji...@apache.org> on 2020/03/24 08:38:00 UTC

[jira] [Updated] (SLING-9248) Feature model variables are not resolved for array elements

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

A. J. David Bosschaert updated SLING-9248:
------------------------------------------
    Description: 
Feature model variables are not resolved for array elements.

Let's say the following variable is defined:
{code}
"variables" : {
  "foo": "b"
}
{code}
Then this variable should be substituted in configuration values that are an array:
{code}
.... "configkey" : ["a": "${foo}"]
{code}

  was:
Feature model variables are not resolved for array elements.

Let's say the following variable is defined:
{code}
"variables" : {
  "foo": true
}
{code}
Then this variable should be substituted in configuration values that are an array:
{code}
.... "configkey" : ["b": "${foo}"]
{code}


> Feature model variables are not resolved for array elements
> -----------------------------------------------------------
>
>                 Key: SLING-9248
>                 URL: https://issues.apache.org/jira/browse/SLING-9248
>             Project: Sling
>          Issue Type: Bug
>          Components: Feature Model
>    Affects Versions: Feature Model 1.1.4
>            Reporter: A. J. David Bosschaert
>            Priority: Major
>
> Feature model variables are not resolved for array elements.
> Let's say the following variable is defined:
> {code}
> "variables" : {
>   "foo": "b"
> }
> {code}
> Then this variable should be substituted in configuration values that are an array:
> {code}
> .... "configkey" : ["a": "${foo}"]
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)