CMIS REST API: Querying Files Using /cmis/query/q{repositoryId} Takes Time to Display New Uploaded or Deleted Files
(Doc ID 2548848.1)
Last updated on JUNE 07, 2024
Applies to:
Oracle WebCenter Portal - Version 12.2.1.2.0 to 12.2.1.3.0Information in this document applies to any platform.
Symptoms
Querying files using /cmis/query/q{repositoryId} takes time to display new uploaded or deleted files.
STEPS:
The issue can be reproduced as follows:
- Upload a file to a WebCenter Portal Folder using CMIS REST API.
e.g.: MyFile10 - Delete a file from the same WebCenter Portal Folder using CMIS REST API.
e.g.: Myfile11 - Query the files using CMIS REST API.
Here you will not be able to see the new file and you will continue to see the deleted file for several minutes.
GET URL should look like this:
http://<HOSTNAME>:<PORT>/rest/api/cmis/query/q{repositoryId}?q=select * from cmis:document where cmis:name like '[<STRING PATTERN>]'
For example:
http://<HOSTNAME>:<PORT>/rest/api/cmis/query/q/WebCenterSpaces-ucm?q=select * from cmis:document where cmis:name like 'MyFile%' - After several minutes the new file can be seen and you will stop seeing the deleted file.
- Changes with new files or deleted files are reflected immediately using the WebCenter Portal UI as well of the WebCenter Content UI.
Issue is only when listing children under a folder using CMIS REST API.
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |