Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.3.X, Master
-
7.3.x, 7.2.x
-
Committed
-
4
Description
A user with site permissions to create and publish a content page, will not be able to publish the page if some custom field exists without permissions for this user.
Any message or warning is not showed at all.
Steps to reproduce
- Create a custom field for pages.
- Create a role with permissions to add pages and contents.
- Create a new user and assign the role created in last step.
- Create a new Content Page with the new user, add some fragment and click on publish button.
Current behavior
The page just refresh, any message or warning is not showed at all (publishing-content-pages-with-custom-fields.mov). However, some traces are showed into the catalina.out file (error-log-publishing-content-pages-with-custom-fields.log
).
2021-01-18 17:19:21.934 ERROR [http-nio-8009-exec-6][PortletServlet:119] javax.portlet.PortletException: java.lang.Exception: java.lang.RuntimeException: com.liferay.portal.kernel.security.auth.PrincipalException$MustHavePermission: User 45294 must have UPDATE permission for com.liferay.expando.kernel.model.ExpandoColumn 37220 javax.portlet.PortletException: java.lang.Exception: java.lang.RuntimeException: com.liferay.portal.kernel.security.auth.PrincipalException$MustHavePermission: User 45294 must have UPDATE permission for com.liferay.expando.kernel.model.ExpandoColumn 37220
Expected behavior
Some message (or warning) is showed after publish (or not publish) the page.
Attachments
Issue Links
- causes
-
LPS-128044 Failure in SiteNavigationMenuItemLocalServiceTest
- Closed
- is caused by
-
LPS-105969 Pages don't retain Page Template Custom Field Setting
- Closed
- is related to
-
LPS-133426 Poshi Automation for Bug LPS-126159 Custom field's permissions avoid to publish Content Pages
-
- Closed
-
- relates
-
LPS-127924 Publishing content pages with custom fields causes NullPointerException when user is Site Admin
- Closed