Issue
When the users are trying to upload more than one document through multiple files option, they are having a performance issue in their portal.
-
Steps to reproduce:
1. Start Liferay DXP 7.3 DXP 1
2. Navigate to Documents and Media and try to upload at least 2 files from the system with the Multiple File Upload feature. - Actual Result: It takes a lot of time to upload the document and staleObjectStateExceptions errors are observed in the log
ERROR [ForkJoinPool-2-worker-2][BufferedIncrementRunnable:68] Unable to persist buffered increment value: com.liferay.document.library.kernel.service.DLFolderLocalService.updateLastPostDate(long,java.util.Date)@com.liferay.portlet.documentlibrary.service.impl.DLFolderLocalServiceImpl
- Expected Result: It will not take more than a few seconds to upload the documents and errors should not be present.
Environment
- Liferay DXP 7.3 Fix Pack 1
Resolution
- The observed behavior is a known bug that is being addressed via LPS-131967; however, it has been fixed in Fix Pack 4 (DXP 7.3 Fix Pack 4).
- If a hotfix is required for this issue, please create a support ticket requesting a hotfix by attaching patch details.
- Installing Fix Packs and Hotfixes on Liferay DXP will guide you to install this hotfix in the respective environment.
Additional Information
- This is a regression bug which is caused by LPS-130001.
- Upgrade the DXP update to the latest one to achieve the expected behavior: Upgrade Basics
- All patching-tool commands must be executed from the {liferay_home}/patching-tool directory:
For Ubuntu:
./patching-tool.shFor Windows:patching-tool.bat