Affects Version/s: 6.2.X EE, 7.0.0 M7
Client receives a "request entity too large error" after conducting searches in the audit portlet and selecting a record. The URLs that are generated are often over 3,000 characters long. It seems their web server is sending back the error because the URLs are too long.
- Install the audit portlet and enable logging by adding these properties to the portal-ext.properties:
- Perform some actions for the audit portlet to record: create a user and change the user's password. Create a blank site.
- Navigate to the audit portlet and execute a blank search. Select the first record's User ID.
Expected Result: The URL will be of a reasonable length so it won't be rejected by the web server.
Actual Results: A large URL such as this one will be generated:
was able to reproduce on liferay-portal-ee\ee-6.2.x with audit portlet from liferay-plugins\ee-6.2.x
code is the same on ee-7.0.x, but the audit portlet does not exist on liferay-plugins-ee/master or on liferay-plugins
fix is to remove extraneous parameters from the row urls of the search container for audit events