You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (Jira)" <ji...@apache.org> on 2022/01/14 16:12:00 UTC

[jira] [Closed] (SLING-10289) Sling Dynamic Include 3.2.0 configuration of arrays broken

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

Robert Munteanu closed SLING-10289.
-----------------------------------

> Sling Dynamic Include 3.2.0 configuration of arrays broken
> ----------------------------------------------------------
>
>                 Key: SLING-10289
>                 URL: https://issues.apache.org/jira/browse/SLING-10289
>             Project: Sling
>          Issue Type: Bug
>    Affects Versions: Dynamic Include 3.2.0
>            Reporter: Andreas Wurm
>            Assignee: Robert Munteanu
>            Priority: Major
>             Fix For: Dynamic Include 3.3.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> XML config like this stopped working > 3.1.6 and will only pick up first value
> {code:java}
> include-filter.config.resource-types="[wcm/components/content/downloadteaser,wcm/components/static/menu,wcm/components/static/menuflyout]"{code}
> fixed this by changing the Configuration Attribute to String[]
> {code:java}
>       @AttributeDefinition(name = "Resource types",
>           description = "Filter will replace components with selected resource types",
>           type = AttributeType.STRING)
>       String[] include$_$filter_config_resource$_$types() default {};{code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)