Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-140988

Menu Display fragment is not visible to unauthenticated users


    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.

    1. Navigate to the default site
    2. Add a master page with a Menu Display fragment
    3. Publish Master
    4. Add a content page based on master
    5. Publish
    6. Sign out
    7. 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



      Issue Links



            diego.hu Diego Hu
            benjamin.turner Benjamin Turner
            Kiyoshi Lee Kiyoshi Lee
            Lourdes Fernandez Besada Lourdes Fernandez Besada
            0 Vote for this issue
            2 Start watching this issue


              1 year, 22 weeks, 2 days ago


                Version Package
       CE GA6
                7.4.13 DXP U2
       CE GA7
                7.4.13 DXP U3