吊索动态包括不适用于多个组件 [英] Sling Dynamic Include Not Working for Multiple components

查看:27
本文介绍了吊索动态包括不适用于多个组件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在配置 SDI OSGi 配置,参考 - https://experienceleague.adobe.com/docs/experience-manager-learn/foundation/development/set-up-sling-dynamic-include.html?lang=en

I'm configuring SDI OSGi config, referencing - https://experienceleague.adobe.com/docs/experience-manager-learn/foundation/development/set-up-sling-dynamic-include.html?lang=en

我面临的问题是:

如果我在配置属性中只设置了 1 种资源类型 -

If I set Only 1 resource type in the config property -

include-filter.config.resource-types="[my-app/components/content/highly-dynamic]";- 它有效.

include-filter.config.resource-types="[my-app/components/content/highly-dynamic]" - it works.

但是如果我在配置属性中设置了 1 个以上的资源类型 -

But if I set more than 1 resource type in the config property -

include-filter.config.resource-types="[my-app/components/content/highly-dynamic, my-app/components/content/highly-dynamic2,my-app/components/content/highly-动态3]"- SDI 仅适用于第一个条目(我的应用程序/组件/内容/高度动态),而不适用于其他条目.

include-filter.config.resource-types="[my-app/components/content/highly-dynamic, my-app/components/content/highly-dynamic2,my-app/components/content/highly-dynamic3]" - SDI works for only first entry(my-app/components/content/highly-dynamic) and not the others.

所以如果我颠倒顺序,

include-filter.config.resource-types="[my-app/components/content/highly-dynamic3, my-app/components/content/highly-dynamic2,my-app/components/content/highly-动态]"- SDI 仍然只适用于第一项(my-app/components/content/highly-dynamic3),而不适用于其他.

include-filter.config.resource-types="[my-app/components/content/highly-dynamic3, my-app/components/content/highly-dynamic2,my-app/components/content/highly-dynamic]" - SDI still works for only first entry(my-app/components/content/highly-dynamic3) and not the others.

推荐答案

您的问题听起来与 https://issues.apache.org/jira/browse/SLING-10289 影响当前版本 3.2.0.

Your issue sounds related to https://issues.apache.org/jira/browse/SLING-10289 which affects the current version 3.2.0.

这篇关于吊索动态包括不适用于多个组件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆