Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-937

Add sync-indexing options on nuxeo-operation-button

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.33
    • Component/s: Core, UI
    • Release Notes Summary:
      The sync-indexing options is added on nuxeo-operation-button.
    • Tags:
    • Backlog priority:
      900
    • Sprint:
      nxGang Sprint 11.1.10
    • Story Points:
      3

      Description

      Users report 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.

      It has been fixed by ELEMENTS-546 to force synchronous udpate of the ES index.

      EDIT root issue here is the missing sync-indexing option on nuxeo-operation-button that should forward it to the inner nuxeo-operation element.

      But on 9.10, we did not have such option, it was done by specifying the headers like in https://github.com/nuxeo/nuxeo-web-ui/blob/9.10/elements/nuxeo-document-bulk-actions/nuxeo-delete-documents-button.html#L44

      headers='{"nx_es_sync": "true"}'
      

        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 - 4 hours
                  4h