[ 
https://issues.apache.org/jira/browse/SLING-10289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17325765#comment-17325765
 ] 

Andreas Wurm commented on SLING-10289:
--------------------------------------

Hi [~rombert] I created a Pull Request that also adds assertions for this.

> 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
>            Priority: Major
>             Fix For: Dynamic Include 3.3.0
>
>          Time Spent: 20m
>  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.3.4#803005)

Reply via email to