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

Fix selection for field of type 'Document' in spreadsheet editor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 10.10
    • Fix Version/s: None
    • Component/s: Spreadsheet
    • Tags:
    • Backlog priority:
      550
    • Sprint:
      nxNS Sprint 11.1.15

      Description

      When editing a cell of type Document in the spreadsheet editor, the suggestion widget never suggest any document and the spinner turns endlessly:

      How to reproduce:

      • in Studio Modeler define a document type named DocType1 (that extends nothing) and add to it a field named docref of type Document
      • define its create layout to input field doctype1:docref
      • define a content view named cv1:
        • set Query filter to ecm:mixinType != 'HiddenInNavigation' AND ecm:isVersion = 0 AND ecm:currentLifeCycleState != 'deleted' AND ecm:parentId = ?
        • add a query parameter with value
          #{currentDocument.id}
        • add a result column Document Id title with link
        • add a result column with a widget by property for field doctype1:docref
      • define another document type named DocType2 that extends Folder:
        • check Show Create Child Action
        • set document type DocType1 as a child document type
        • set the Main content content view to cv1
      • deploy and log in the Nuxeo platform
      • create a folderish document of type DocType2
      • create a document of type DocType1 under it and set its doctype1:docref to any other document
      • navigate back to the listing of the folderish document of type DocType2
      • click on the content view's Spreadsheet icon to open the spreadsheet editor
      • double-click on any cell in column Docref to switch to edit mode and select a document

      Expected result: the suggestion widget displays documents based on the entered characters.
      Actual result: the suggestion widget does not display any documents based on the entered characters.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: