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

ID [...] のコンポーネントがブラウザにコンソール警告を 2 回登録されている

written-by

István Gergely-Tárnoki

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

問題

  • Liferay のさまざまな部分 (Web コンテンツ エディターなど) を開くと、JavaScript の警告メッセージが表示されることが あります
  • は、「Liferay.component」および「Liferay.componentReady」API、および「*:registered」イベントで予期しない動作を引き起こす可能性があります。
  • それらのメッセージについて心配する必要がありますか?

Environment

  • Liferay DXP 7.2

解決策

  • 警告メッセージはそこにあることを意図しています。 それらは、サーバー ログの WARN メッセージと同様に、メモに似ています。
  • コンポーネントの二重登録が原因でポータルに実際の機能上の問題がある場合は、Liferay サポートに報告してください。それらの動作に対処します。

did-this-article-resolve-your-issue

legacy-knowledge-base