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
問題
コピー ページ アクション中に「予期しないエラーが発生しました」というメッセージが表示されます。
ログを確認すると、次のようなトレースがあります。
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 役割がこの目的のデフォルトですが、要件に基づいて他の役割になる可能性があります。