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

Fix bulk delete of Vocabulary metadata with spreadsheet editor

    Details

      Description

      Steps to reproduce :

      1. upload a bunch of files in a folder
      2. edit the column settings to add Nature and Coverage
      3. click on the Spreadsheet editor icon
      4. set a value for Nature and Coverage for 2 or 3 documents
      5. save and close the editor
      6. open the Spreadsheet editor again
      7. select all the values for the Nature column and hit the "Delete" key
      8. click on the Save button

      Observe that a red cell/line is displayed. And an error is logged to the console

      Error: 
          save http://localhost:8080/nuxeo/spreadsheet/scripts/app.js:1
          execute http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:15
          l http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:2
          fireWith http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:2
          n http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:3
          r http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:3
          send http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:3
          ajax http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:3
          execute http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:15
          put http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:15
          save http://localhost:8080/nuxeo/spreadsheet/scripts/app.js:1
          r http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:32
          t http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:32
          save http://localhost:8080/nuxeo/spreadsheet/scripts/app.js:1
          save http://localhost:8080/nuxeo/spreadsheet/scripts/app.js:1
          t http://localhost:8080/nuxeo/spreadsheet/scripts/app.js:1
          dispatch http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:2
          handle http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:2
          add http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:2
          A http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:1
          each http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:1
          each http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:1
          A http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:1
          on http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:2
          t http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:3
          t http://localhost:8080/nuxeo/spreadsheet/scripts/app.js:1
          n http://localhost:8080/nuxeo/spreadsheet/scripts/app.js:1
          h http://localhost:8080/nuxeo/spreadsheet/scripts/app.js:1
          P http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:32
          O http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:32
          when http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:32
          run http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:32
          r http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:32
          _drain http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:32
          drain http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:32
          r http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:32
          t http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:32
          [5]</</< http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:32
          [5]</< http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:32
          [5]</< http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:32
          [5]< http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:32
          i http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:31
          i http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:31
          [2]</</< http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:31
          [2]</< http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:31
          [2]</< http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:31
          [2]< http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:31
          i http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:31
          i http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:31
          [1]< http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:31
          i http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:31
          t http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:31
          <anonymous> http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:31
          <anonymous> http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:31
          <anonymous> http://localhost:8080/nuxeo/spreadsheet/scripts/vendor.js:31
      app.js:1:26004
      

      Expected behavior:

      It is possible to delete in bulk the values from a dropdown metadata

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours, 5 minutes
                  4h 5m

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.