Legacy Knowledge Base
Published Jun. 30, 2025

Fragments are no longer accessible due to deleted users

Written By

Kanchan Bisht

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • The user creates a User with the Administrator role, then impersonates the User and adds a fragment collection to the Global Site. They then deactivate and delete the user. They attempt to create a fragment from the collection as the original admin. The fragment has been created.
    However, it is inaccessible due to an error in the UI.

  • Steps to reproduce it:
    1) Set up DXP server
    2) Navigate to Control Panel -> Users -> Users and Organizations and create a User and add to it the Administrator Role (Regular Role).
    3) As the Admin, impersonate the User by going back to Users and clicking on the 3 dot menu beside the new user and selecting 'Impersonate'.
    4) Navigate to the Global Site -> Designer -> Fragments and create a new Collection
    5) Go back to the admin User and deactivate the new User and delete it.
    6) Go to the Global Site -> Design -> Fragments and create a fragment from the Collection.
    Expected Behavior: The fragment should be created and accessed without issues.
    Observed Behavior: An error appears on the UI: 'fragmentXX (Draft) is temporarily unavailable' and in the log:
ERROR [http-nio-8080-exec-9][PortletRequestDispatcherImpl:304] Unable to dispatch request: com.liferay.portal.kernel.exception.NoSuchUserException: No User exists with the primary key XYZ
ERROR [http-nio-8080-exec-9][PortletServlet:117] null
javax.portlet.PortletException: javax.servlet.ServletException: com.liferay.portal.kernel.exception.NoSuchUserException: No User exists with the primary key XYZ

Environment

  • Liferay DXP 7.3

Resolution

  • The observed behavior is a known bug of DXP which will be addressed by LPS-161611

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base