-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: 2.4.0
-
Fix Version/s: None
-
Component/s: UI
-
Tags:
-
Backlog priority:675
-
Sprint:UI - 2021-14, UI - 2022-02, UI - 2022-03, UI Cooldown - 2021-14, UI Cooldown - 2022-02
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:
- 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')
- 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>
- 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="{"parent": "[[document.uid]]"}"></nuxeo-results-view> </template> </nuxeo-slot-content>
- deploy the project
- go to a Workspace and choose the Custom tab
- observe that some documents are listed (hopefully)
- open Spreadsheet editor
- change the Description for one row
- save and close Spreadsheet editor
- observe that the content view has not been updated and the new value for the Description is not displayed