Uploaded image for project: 'Nuxeo Web UI'
  1. Nuxeo Web UI
  2. WEBUI-422

refresh-display event should let users execute further bulk actions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.6
    • Fix Version/s: 3.0.7
    • Component/s: UI

      Description

      Using FF
      Go to a folderish document
      Select all in table view
      Execute a custom action

      Sample UI contribution

      <!-- Contribution of element 'nuxeo-operation-button' for slot 'RESULTS_SELECTION_ACTIONS' -->
      <nuxeo-slot-content name="approve" slot="RESULTS_SELECTION_ACTIONS" order="3">
        <template>
          <nuxeo-operation-button icon="icons:spellcheck" label="Approve" show-label="true" operation="approve" input="[[selection]]" event="refresh-display"></nuxeo-operation-button>
        </template>
      </nuxeo-slot-content>
      

      Sample chain

      - Context.FetchDocument
      - Document.FollowLifecycleTransition:
          value: approve
      
      

      => Once action is executed you lose the display of the results selection actions so you can't trigger another action anymore
      Expected: you should be able to trigger another action afterwards since the selection is kept

      Note: if the action fails, results selection actions are still available. It only disappears if the action completes successfully.

        Attachments

        1. Peek 2021-08-18 19-01.mp4
          2.28 MB
          Bertrand Chauvin

          Issue Links

            Activity

              People

              • Assignee:
                rdias Ricardo Dias
                Reporter:
                bchauvin Bertrand Chauvin
                Participants:
                Reviewers:
                Bertrand Chauvin, Gabriel Barata, Miguel Nixo, Samuel Fialho
              • Votes:
                0 Vote for this issue
                Watchers:
                3 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 hour, 35 minutes
                  1h 35m