Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-27268

Backport NXP-24383 to 9.10

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Do
    • Affects Version/s: 9.10
    • Fix Version/s: None
    • Component/s: Web UI
    • Tags:
    • Backlog priority:
      700

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 minute
                  1m