You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Ronit Banerjee (Jira)" <ji...@apache.org> on 2022/01/04 08:18:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17468424#comment-17468424 ]
Ronit Banerjee commented on SLING-10289:
----------------------------------------
Hi [~rombert] - When can we expect to have SDI version 3.3.0 as part of maven repository. In case its not anytime soon, what would be the suggested approach to fix this issue.
> 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)