-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Not A Bug
-
Affects Version/s: 3.16.0
-
Fix Version/s: None
-
Component/s: Studio Designer
-
Tags:
-
Team:NOS
-
Sprint:NOS 11.1.15 - 2019-08 1
-
Story Points:3
Steps to reproduce (on 10.10 with Web UI):
1. In Modeler, create a pp Page Provider.
2. In Designer, configure its results layout (Layouts > Page Providers > pp > results > CONFIGURE).
3. Switch to code, copy all content to a local file on your machine.
4. Switch to view.
5. In the table entry, click Edit.
6. Switch to code, copy all content to a local file on your machine.
Even though no changes were made in the layout, there are significant changes between these files (not only formatting, but also missing attributes and elements). Here's the full diff:
@@ -19,42 +19,32 @@ } </style> <nuxeo-results name="pp" nx-provider="[[nxProvider]]" selected-items="{{selectedItems}}"> - <nuxeo-data-grid name="grid" icon="nuxeo:view-thumbnails" class="results" empty-label="[[i18n('searchResults.noResults')]]" - sort-label="[[i18n('searchResults.sort.label')]]" selection-enabled display-quick-filters> + <nuxeo-data-grid name="grid" icon="nuxeo:view-thumbnails" class="results" empty-label="[[i18n('searchResults.noResults')]]" sort-label="[[i18n('searchResults.sort.label')]]" selection-enabled="" display-quick-filters=""> <template> - <nuxeo-document-grid-thumbnail tabindex$="{{tabIndex}}" selected$="{{selected}}" doc="[[item]]" index="[[index]]" - on-navigate="_navigate" selected-items="[[selectedItems]]"> + <nuxeo-document-grid-thumbnail tabindex$="{{tabIndex}}" selected$="{{selected}}" doc="[[item]]" index="[[index]]" on-navigate="_navigate" selected-items="[[selectedItems]]"> </nuxeo-document-grid-thumbnail> </template> </nuxeo-data-grid> - <nuxeo-data-table name="table" icon="nuxeo:view-list" class="results" - settings-enabled - empty-label="[[i18n('searchResults.noResults')]]" - selection-enabled - display-quick-filters - on-row-clicked="_navigate"> + <nuxeo-data-table class="results" empty-label="[[i18n('searchResults.noResults')]]" on-row-clicked="_navigate" icon="nuxeo:view-list" name="table"> <nuxeo-data-table-column name="Title" field="dc:title" sort-by="dc:title" flex="100"> <template> - <nuxeo-document-thumbnail document="[[item]]"></nuxeo-document-thumbnail> - <a class="ellipsis" href$="[[urlFor('browse', item.path)]]" on-click="_navigate">[[item.title]]</a> + <nuxeo-document-thumbnail document="[[item]]"></nuxeo-document-thumbnail><a class="ellipsis" href$="[[urlFor('browse', item.path)]]" on-click="_navigate">[[item.title]]</a> + </template> </nuxeo-data-table-column> - <nuxeo-data-table-column name="Modified" field="dc:modified" sort-by="dc:modified" flex="50"> <template> [[formatDate(item.properties.dc:modified)]] + </template> </nuxeo-data-table-column> - - <nuxeo-data-table-column name="Last Contributor" field="dc:lastContributor" sort-by="dc:lastContributor" - flex="50"> + <nuxeo-data-table-column name="Last Contributor" field="dc:lastContributor" sort-by="dc:lastContributor" flex="50"> <template> <nuxeo-user-tag user="[[item.properties.dc:lastContributor]]"></nuxeo-user-tag> </template> </nuxeo-data-table-column> </nuxeo-data-table> - </nuxeo-results> </template> <script>