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

Fix tab refresh after closing Spreadsheet editor

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.4.0
    • Fix Version/s: HOTFIX_10.10_2.4, 3.x
    • Component/s: UI

      Description

      This issue has been fixed by NXP-28117 for the default content view (and for the default search). However it seems to be still a problem with a custom tab.

      Steps to reproduce:

      1. define a page provider with this query filter
        ecm:mixinType != 'HiddenInNavigation' AND ecm:isVersion = 0 AND ecm:isTrashed = 0 AND ecm:primaryType IN
        ('Audio','Video','File','Picture')
        
      2. customize the layouts of the provider in Designer and add a "Description" column
                <nuxeo-data-table-column name="Description" field="dc:description" sort-by="dc:description" flex="50">
                  <template>
                    [[item.properties.dc:description]]
                  </template>
                </nuxeo-data-table-column>
        
      3. define a Listing tab : associate it to the page provider and define a param bound to the document, like "parent":"[[document.uid]]"
        The generated code will look like that :
        <nuxeo-slot-content name="CUSTOM" slot="DOCUMENT_VIEWS_ITEMS" order="1">
          <template>
            <nuxeo-filter document="[[document]]" type="Workspace">
              <template>
                <nuxeo-page-item label="Custom" name="custom"></nuxeo-page-item>
              </template>
            </nuxeo-filter>
          </template>
        </nuxeo-slot-content>
        <!-- Contribution of element 'nuxeo-results-view' for slot 'DOCUMENT_VIEWS_PAGES' -->
        <nuxeo-slot-content name="CUSTOM" slot="DOCUMENT_VIEWS_PAGES">
          <template>
            <nuxeo-results-view provider="BulkEdit_Provider" schemas="dublincore" search-name="bulkedit_provider" auto="true" name="custom" params="{&quot;parent&quot;: &quot;[[document.uid]]&quot;}"></nuxeo-results-view>
          </template>
        </nuxeo-slot-content>
        
      4. deploy the project
      5. go to a Workspace and choose the Custom tab
      6. observe that some documents are listed (hopefully)
      7. open Spreadsheet editor
      8. change the Description for one row
      9. save and close Spreadsheet editor
      10. observe that the content view has not been updated and the new value for the Description is not displayed

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:

                PagerDuty

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