A customer reports a refresh issue in the Web UI when an automation chain/scripting, which moves child document(s) to another folder, is called when viewing a folder.
How to reproduce:
- In Studio Modeler, define an automation scripting with the following code:
function run(input, params) { Console.warn('<moveChildDocument> ' + input.path); var childDoc = Document.GetChild(input, { 'name': 'File1' }); var destDoc = Document.Move(childDoc, { 'target': input.path+'/Folder1'}); Console.warn('<moveChildDocument> moved to ' + destDoc.path); return input; }
- In Studio Designer, define a new operation action that calls this new scripting:
- Slot: Document Action
- One of the types: Workspace
- Deploy and log in the Web UI
- create a Workspace
- in the Workspace, create a File document named File1 and a Folder document named Folder1
- navigate to the Workspace
- click on the document action previously defined
Expected result: the listing of the Workspace refreshes and only lists Folder Folder1.
Actual result: the listing of the Workspace shows Folder Folder1 and File File1, despite the fact that File1 has been moved to Folder1.
This is already fixed in 10.10 and only happens in 9.10.
- is related to
-
ELEMENTS-546 Add a property to nuxeo-operation to force elastic indexing being synchronous
- Resolved
-
ELEMENTS-937 Add sync-indexing options on nuxeo-operation-button
- Resolved
-
NXP-24383 Leverage new syncIndexing property on nuxeo-operation element
- Resolved