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

Unable to add document using spreadsheet editor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.10-HF68
    • Fix Version/s: 10.10-HF71
    • Component/s: Spreadsheet
    • Release Notes Summary:
      Spreadsheet editor handles Document fields.
    • Backlog priority:
      700
    • Sprint:
      UI - 2023-01

      Description

      When you have a property that is of type 'Document', you are unable to modify it in the spreadsheet editor.

      Steps to Reproduce

      1. Use the attached studio project zip
      2. Create a folder of type 'Test Folder'
      3. Within the 'Test Folder', create a few documents of type 'Test Document'
      4. Go to the 'Test Folder' results view
      5. Open spreadsheet editor
      6. In the 'Single Doc' column, try to add a document

      Expected Results: A suggestion shows with documents you can add
      Actual Results: Nothing happens when clicking in the cell and the following error is seen in the browser console

      Uncaught TypeError: Cannot read properties of null (reading 'uid')
          at n.getEntryId (app.js:1:13386)
          at n.prepare (app.js:1:12997)
          at t.EditorManager.prepareEditor (vendor.js:7:5425)
          at Object.refreshBorders (vendor.js:6:3278)
          at Object.setRangeEnd (vendor.js:6:3171)
          at Object.setRangeStart (vendor.js:6:2240)
          at Object.onCellMouseDown (vendor.js:6:30279)
          at O.getSetting (vendor.js:12:2087)
          at y.getSetting (vendor.js:11:19236)
          at HTMLDivElement.a (vendor.js:5:20083)
      

        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 day
                  1d