-
Type:
Hot Fix Request
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 5.2.7.5
-
Component/s: ACS REST API
-
Labels:None
-
Environment:any
-
Bug Priority:
-
Hot Fix Version:5.2.7.7
-
ACT Numbers:
01016629
-
Build Location:
-
Premier Customer:Yes
-
Delivery Team:Customer Excellence
[Description]
When using the REST API https://api-explorer.alfresco.com/api-explorer/#!/audit/listAuditEntriesForAuditApp the totalItems field is not accurate.
[Steps to reproduce]
- Install alfresco 5.2.7.5 using the installer
- Configure auditing as per documentation (https://docs.alfresco.com/5.2/concepts/audit-enable.html)
- Start alfresco
- Login to share as the admin and create site and upload documents to create some audit entries
- In a browser window navigate to http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/audit-applications/alfresco-access/audit-entries?skipCount=0&maxItems=1000 and note the totalItems field
- In another browser window navigate to http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/audit-applications/alfresco-access/audit-entries?skipCount=0&maxItems=5 and not the totalItems field
[Expected Behaviour]
Both of the totalItems values in both requests are the same number.
[Observed Behaviour]
The values for totalItems are different in both requests
[Analysis to date]
The totalItems value seems to be driven by the maxItems value
not sure if this is related since a large value of maxItems can uncover the actual totalItems.