【问题标题】:Sling Dynamic Include Not Working for Multiple components吊索动态包括不适用于多个组件
【发布时间】:2021-09-11 23:57:39
【问题描述】:

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

我面临的问题是:

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

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

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

include-filter.config.resource-types="[my-app/components/content/highly-dynamic, my-app/components/content/highly-dynamic2,my-app/components/content/highly-dynamic3 ]" - SDI 仅适用于第一个条目(my-app/components/content/highly-dynamic),不适用于其他条目。

所以如果我颠倒顺序,

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

【问题讨论】:

    标签: caching osgi aem dispatcher sling


    【解决方案1】:

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

    【讨论】:

    • 好的。所以我已经恢复到 v3.1.2,它现在正在工作。谢谢。
    • 嗨@nik-8000 - 您是否曾经遇到过或意识到 SDI 配置更新不是实时的并且更改通常延迟反映的情况(不仅仅是几分钟,而是超过那)
    • 嗨@abhishek-sinha,不,还没有看到这种行为。
    • 嗨 Nik - 感谢您的回复。你也可以检查一下这个吗?显然几乎没有人在使用 SDI,现在我想为什么。 stackoverflow.com/questions/68401728/…
    猜你喜欢
    • 2020-01-16
    • 1970-01-01
    • 2017-12-04
    • 1970-01-01
    • 2017-07-12
    • 2017-01-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多