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

Cannot Deploy a Portlet to a Widget Page

written-by

Emma Carr-Gardner

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

Issue

  • After deploying a portlet, I'm not able to move it to a widget page.
  • Adding portlets from WAR fails due to the permission checking logic in UpdateLayoutStrutsAction
  • javax.servlet.ServletException: com.liferay.portal.kernel.security.auth.PrincipalException$MustHavePermission: User 20123 must have ADD_TO_PAGE permission for com.liferay.portal.kernel.model.Portlet_Sample_WAR_Sampleportlet_

 

Environment

  • Liferay DXP Quarterly Release

Resolution

  •  This is a regression bug that can resolved by requesting a fix built on LPD-51354, or upgrading to a Quarterly Release that contains the fix.
did-this-article-resolve-your-issue

legacy-knowledge-base