Issue
-
When the web content size limit exceeds, there is no error displayed on the UI that the upload size is too large.
Steps to reproduce:
1. Start Liferay DXP 7.4 U83.
2. Navigate to Control Panel > System Settings > Infrastructure > Upload Servelet Request.
3. Edit this to 104857 instead of the default value of 104857600.
4. Navigate to Site Menu > Content and Data > Web Content > Basic Web Content
5. Try to increase the content as much as possible to go over the limit > Publish.
7. Click Publish.Observed behavior: The user is not able to publish. The publish button is inactive for a second and there is a warning in the Liferay console:
Unable to parse upload request: the request was rejected because its size (388923) exceeds the configured maximum (104857)
Expected behavior: Should not be able to publish web content and the error message should be displayed on the UI.
Environment
- Liferay DXP 7.4
Resolution
- The observed behavior is a known bug that has been addressed by: LPS-198515.
- 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.