-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Not A Bug
-
Affects Version/s: 10.10, 2021.0, 2023.x
-
Fix Version/s: None
-
Component/s: Core
-
Tags:
-
Backlog priority:700
-
Sprint:nxplatform #75, nxplatform #76
-
Story Points:1
How to reproduce:
- create a folder named Folder_XXX and create a File document named XXX in it
- create a version for the File document named XXX
- The following search returns 2 results, the live document and the version:
curl -su Administrator:Administrator -XPOST -H'Content-Type:application/json' \ http://localhost:8080/nuxeo/api/v1/automation/Repository.Query \ -d "{ \"params\": { \"query\":\"SELECT * FROM Document WHERE ecm:mixinType != 'HiddenInNavigation' AND dc:title = 'XXX'\" }}" \ | jq
- permanently delete folder Folder_XXX
- execute the same search:
curl -su Administrator:Administrator -XPOST -H'Content-Type:application/json' \ http://localhost:8080/nuxeo/api/v1/automation/Repository.Query \ -d "{ \"params\": { \"query\":\"SELECT * FROM Document WHERE ecm:mixinType != 'HiddenInNavigation' AND dc:title = 'XXX'\" }}" \ | jq
Expected result: no document returned
Actual result: the search returns the version