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

Fix bulk edit not on all documents when there is lack of permissions only in some

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2021.14
    • Fix Version/s: 2021.18
    • Component/s: Bulk, Web UI
    • Release Notes Summary:
      Error on some document doesn't rollback changes done on other in the same batch during bulk edit.
    • Tags:
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #56, nxplatform #57
    • Story Points:
      2

      Description

      When doing bulk edit in a list of documents where there are a few of them that we only have read permission, we get an error information on a toast saying that there were errors on those documents, which is the expected result.

      The issue is that the other documents where we have edit permission the bulk edit should work and that isn't happening, no document is edited in the list.

       

      how to reproduce:

      • go to a folder with a few documents, where at least on 1 you have edit permissions and the others you have only read permission
      • select all the documents and bulk edit them
      • a toast with a number of errors should appear(the number of documents that you don't have edit permission) but the bulk edit action is completed
      • open a document on that list where you have edit permission
      • the document wasn't edited - bug

       

      https://app.datadoghq.com/logs?cols=core_host%2Ccore_service&context_event=AQAAAX6gZetV0tKzpgAAAABBWDZnWmYyTEFBQUU3eFBobWtWYTV3QXc&event&from_ts=1643306461253&index=%2A&live=false&messageDisplay=inline&query=host%3Anxdev-ui-test-app-4668-10-13-7-221-euw+service%3Anxdev-4668+filename%3Aserver-json.log&stream_sort=desc&to_ts=1643368541014&viz=

        Attachments

        1. bulkEditerror.mov
          13.09 MB
          Fábio Santos
        2. dataDog_error
          8 kB
          Fábio Santos

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: