-
Type:
Bug
-
Status: Verified
-
Resolution: Unresolved
-
Affects Version/s: 7.0.X
-
Fix Version/s: None
-
Component/s: Portal Services > Auditing
-
Labels:
-
Fix Priority:4
-
Git Pull Request:
Summary
In Audit advanced search, the end date switches back incorrectly to the start date after the search. This gives the false impression as if the filtered results were from that single day.
Steps to reproduce
1) in portal-ext, set:
audit.message.com.liferay.portal.kernel.model.Layout.VIEW=true
setup.wizard.enabled=false
2) startup DXP 7.0 (de-91)
3) login as default admin
4) generate 6 audit events
(eg. by visiting localhost:8080 6 times in the authenticated session)
5) visit Audit portlet and set its pagination to 5
6) open advanced search
7) set the start date field to 01/01/2020, leave the end date on the current date
8) Click on search
Actual result: the end date is shown with the value of the start date (PFA screenshot)
Expected result: the end date does not change
8) (optional) clicking on Next or Last page, the end date is shown correctly
Reproduced on:
7.0 (de-91)
7.0.x private, commit 1d461a26fb1906d5fdb2333484c753580b258d58
Additional notes:
The results themselves are ok: they are from the requested timeframe.