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

Fix blank screen in Spreadsheet Editor when column on a blob's property is included

    XMLWordPrintable

    Details

    • Release Notes Summary:
      Spreadsheet Editor handles columns with blob property.
    • Tags:
    • Backlog priority:
      700
    • Team:
      NS
    • Sprint:
      UI - 2020-05 2, UI - 2020-06 1, UI - 2020-06 2

      Description

      Spreadsheet Editor shows a blank page when a column on a sub-field of a blob property (e.g. file:content/length or file:content/mime-type) has to be rendered and the blob property is null or missing.

      How to reproduce:

      • create a page provider with query ecm:mixinType != 'HiddenInNavigation' AND ecm:isVersion = 0 AND ecm:isTrashed = 0 AND ecm:mixinType='Folderish' with a predicate on dc:title with operator FULLTEXT
      • configure the page provider in Studio Designer:
        • form: add an element for field dc_title
        • results: edit table. Swtich to the Table Editor and add a column on property file:content.length
        • bind a Drawer item search UI element: set its Name, Label, add schema file and dublincore to fields schemas
      • deploy
      • log in Web UI
      • navigate to the defined search (column Content Length shows) and open the Spreadsheet Editor

      Expected result: the Spreadsheet Editor opens and renders all the rows and columns, empty cells in column Content Length.
      Actual result: The Spreadsheet Editor stays blank with error i is null at the bottom right. Brower's console shows this error:

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 4 hours
                4h