Andreas Wurm created SLING-10289:
------------------------------------
Summary: 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
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)