Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.4.13 DXP GA1, Master
Description
Note: This issue relates to the "Menu Display" fragment - there's no Component for this available to select - I've assumed that "Navigation Menu" is the same thing.
In DXP 7.4 GA1 the new "Menu Display" fragment allows Navigation Menus to be selected (similarly to the existing Navigation Menu widget).
However I have observed that the menu does not display to unauthenticated (Guest) users. This appears to impact both system menus (e.g. Public Pages Hierarchy) as well as user created Navigation Menus (even when the Navigation Menu has "View" permissions for Guests). As such it appears to relate to permissions on the Fragment itself.
- Navigate to the default site
- Add a master page with a Menu Display fragment
- Publish Master
- Add a content page based on master
- Publish
- Sign out
- Navigate to the content page as Guest user
Expected Behaviour:
- The fragment displays and the selected Navigation Menu is shown
Observed Behaviour:
- The fragment displays "An unexpected error occurred."
- When the page first loads two "Error: Your request failed to complete" errors are shown
- A permissions error is displayed in the Console log:
2021-10-18 22:28:59.645 ERROR [http-nio-8080-exec-12][FragmentRendererControllerImpl:126] Unable to render content of fragment entry 0:com.liferay.portal.kernel.security.auth.PrincipalException$MustHavePermission: User 20103 must have VIEW permission for com.liferay.dynamic.data.mapping.model.DDMTemplate 41466
Attachments
Issue Links
- is related to
-
LPS-153777 Poshi Automation for Bug LPS-140988 Menu Display fragment is not visible to unauthenticated users
-
- Closed
-