Legacy Knowledge Base
公開されました Jul. 2, 2025

ページのコピー中にエラーが発生しました: 予期しないエラーが発生しました。

Written By

Jose Jimenez

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.

問題

  • コピー ページ アクション中に「予期しないエラーが発生しました」というメッセージが表示されます。
  • ログを確認すると、次のようなトレースがあります。
2021-12-28 12:09:49.911 ERROR [http-nio-8080-exec-9][LayoutExceptionRequestHandler:132] User 35215 must have com.liferay.portal.kernel.model.Portlet,com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_uyAYBxpmUUMw,ADD_TO_PAGE permission for null


Environment

  • Liferay Portal および DXP のすべてのバージョン

解決策

  • アクションを実行するユーザーは、ページ内のすべてのポートレット/ウィジェットに対して ADD TO PAGE 権限を持っている必要があります。

  • 役割の構成を確認し、ユーザーがこれらの権限を含む役割を持っていることを確認してください。通常、 User 役割がこの目的のデフォルトですが、要件に基づいて他の役割になる可能性があります。

Did this article resolve your issue ?

Legacy Knowledge Base