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

Fix tab refresh after closing Spreadsheet editor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.4.0
    • Fix Version/s: None
    • Component/s: UI
    • Backlog priority:
      675
    • Sprint:
      UI - 2021-14, UI - 2022-02, UI - 2022-03, UI Cooldown - 2021-14, UI Cooldown - 2022-02

      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:
              4 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 - 5 hours, 15 minutes
                5h 15m