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

Spreadsheet does not work on collection

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Spreadsheet

      Description

      Steps to reproduce:

      1. Have a collection with some items
      2. Display this collection
      3. Click the spreadsheet editor button

      => It fails with message bottom right in the UI ("Cannot read properties 'entries' of null".

      Server side, there is an error, a failure with the page provider:

      ****** chain ******
      Name: Repository.PageProvider
      Exception: OperationException
      Caught error: Failed to execute query: SELECT * FROM Document where ecm:mixinType != 'HiddenInNavigation' AND ecm:isTrashed = 0 AND collectionMember:collectionIds/* = ?, Lexical Error: Illegal character <?> at offset 128
      Caused by: org.nuxeo.ecm.automation.OperationException: Failed to execute query: SELECT * FROM Document where ecm:mixinType != 'HiddenInNavigation' AND ecm:isTrashed = 0 AND collectionMember:collectionIds/* = ?, Lexical Error: Illegal character <?> at offset 128
      ****** Hierarchy calls ******
          org.nuxeo.ecm.automation.core.operations.services.DocumentPageProviderOperation
      

      Looking at the console > network, we can see the spreadsheet button calls the `default_content_collection` provider, but passes a named pamareter (named "0"), while the page provider is expecting a parameter extracted from a list (? in the page provider, collectionMember:collectionIds/* = ?.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: