-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 9.10
-
Fix Version/s: 9.10-HF44, 10.10-HF27, 11.1, 2021.0
-
Component/s: Core
-
Release Notes Summary:Sub-sub children are correctly restored.
-
Tags:
-
Backlog priority:650
-
Team:PLATFORM
-
Sprint:nxplatform 11.1.35
-
Story Points:3
Steps to reproduce
- create the following structure under the Workspace
WorkspaceRoot | - WS | - folder 1 | - folder 2 |- folder 3 | - file 4
- trash the top folder "folder 1"
curl -s -X POST -u Administrator:Administrator --header "Content-Type: application/json+nxrequest" http://localhost:8080/nuxeo/site/automation/Document.Trash -d '{"input": "doc:/default-domain/workspaces/WS/folder 1"}'
- observe all documents are in deleted state
- untrash the top folder "folder 1"
curl -s -X POST -u Administrator:Administrator --header "Content-Type: application/json+nxrequest" http://localhost:8080/nuxeo/site/automation/Document.Untrash -d '{"input": "doc:/default-domain/workspaces/WS/folder 1"}'
- observe that only the top folder and its direct child (folder 1 and folder 2) have been restored. The sub-sub children are still trashed
Expected behavior: all documents are restored from the trash
- is related to
-
NXP-22608 Don't recurse too much in BulkLifeCycleChangeListener
- Resolved
- Is referenced in