Legacy Knowledge Base
公開されました Jun. 30, 2025

拡張機能名が長すぎると、クライアント拡張機能のデプロイに失敗する

Written By

Tony Ng

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • クライアント拡張機能に名前を付けるとき、名前が長すぎると拡張機能の配布に失敗します。
  • 例えば、拡張機能の名前が "long-extension-name-landingpageredirect-global-js "の場合、 lcp deploy を実行すると、サービスが見つからないと言って失敗する。

環境

  • LXC

解像度

  • クライアント拡張ドメインは61文字以下である必要があります。 この には、 拡張ドメインも含まれます。したがって、作成されるクライアント拡張機能は、その拡張名とドメインの合計が61文字未満である必要があります。
  • たとえば、 .example-organization-portal-extprd.lfr.cloud は、拡張ドメインの45文字です。 つまり、作成されるクライアントの拡張子は26文字以下である必要がある。 これは、 "long-extension-name-landingpageredirect-global-js "の拡張子名が長すぎることを意味する。

Did this article resolve your issue ?

Legacy Knowledge Base