Issue with recent files via ADW

Description

Recent files includes file created/updated within the last 30 days. We would expect the recent files created to appear here but it is empty. This functionality has the search API behind it and may take a while until new files are indexed.

Example queries tested with the results in the following table. The documents uploaded to ADW have been attached to the ticket as well as the detailed results document with all the sanity tests.

Documents attached to the ticket were uploaded:

File name: Test.rtf and File content: This is a file called Test

File name: Test.txt (no content)

File name: Testing Document.txt (no content)

File name: Testing Document new.txt (no content)

Recent files includes file created/updated within the last 30 days.

Would expect the recent files created to appear here but it is empty.

This functionality has the search API behind it and may take a while until new files are indexed.

Request URL:

http://localhost:8080/alfresco/api/-default-/public/search/versions/1/search

Request body:

{query: "", language: "afts"} language: "afts" query: ""

Response body:

{"list":{"pagination":{"count":0,"hasMoreItems":true,"totalItems":0,"skipCount":0,"maxItems":25},"entries":[]}}

Acceptance criteria:

  • When creating a file and ensuring it has been indexed the file should appear in the recent files via ADW. (all recent files should be here if created/updated within the last 30 days)

  • The tests executed should meet the expected results and shared and recent files works as expected.

Environment

None

Assignee

Unassigned

Reporter

Keerat Lalia

Labels

None

Regression

None

Bug Priority

Category 1

Delivery Team

None

Release Train

None

Affects versions