legacy-knowledge-base
公開されました Sep. 10, 2025

7.2+ へのアップグレード後、JavaScript ローダーの OSGI 構成設定が適用されていないように見える

written-by

Isaac Wilson

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • DXP 7.3 にアップグレードする際、以前に変更した OSGi .config ファイルを新しいバンドルに移動しましたが、デフォルト値が使用されているように見えるため、JavaScript Loader .config ファイルの設定が有効になっていないようです。

Environment

  • アップグレード前の環境: DXP 7.0 または DXP 7.1
  • アップグレード後の環境: DXP 7.2+

解決策

  • 7.1 と 7.2 の間で、OSGi .config ファイルに使用される命名規則が変更されました。

    com.liferay.frontend.js.loader.modules.extender.internal.Details.config to com.liferay.frontend.js.loader.modules.extender.internal.configuration.Details.config

  • そのため、 *.internal.Details.config ファイルの名前を代わりに com.liferay.frontend.js.loader.modules.extender.internal.configuration.Details.configに変更すると、バンドルが認識して適用できるようになります。期待どおりの JavaScript ローダー設定

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base