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
- If a hotfix is required, please create a support ticket requesting the hotfix by attaching the patch details.
- Installing Fix Packs and Hotfixes on Liferay DXP will guide you to install the Fixpack/Hotfix in your environment.
- LPS-161611