-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Duplicate
-
Affects Version/s: 3.21.1
-
Fix Version/s: None
-
Component/s: Layouts & Widgets, Studio Designer
-
Tags:
-
Backlog priority:952
- Create a Folderish document (no need to add fields etc., just a Folderish)
- In Designer, click the "Configure missing layouts"
- Hot reload
- Create such document, add a child or more
- Back to the view mode => no children displayted
Probable cause: When looking at what was scaffolded at step #2, you can see that the hilt contains only a nuxeo-page-provider, no result layouts, no data-table etc.:
<dom-module id="nuxeo-testfolderish-view-layout"> <template> <style include="nuxeo-styles"> . . . </style> <nuxeo-page-provider id="nxProvider" provider="advanced_document_content" page-size="40" aggregations="" enrichers="thumbnail, permissions" params="[[params]]" schemas="dublincore,common,uid,file" headers='{ "X-NXfetch.document": "properties", "X-NXtranslate.directoryEntry": "label" }' fetch-aggregates></nuxeo-page-provider> </template> . . .
Workaround: replace the <nuxeo-page-provider...> line with <nuxeo-document-content document="[[document]]"></nuxeo-document-content>
- duplicates
-
NXS-5607 Fix view layout generation for Folderish document types
- Resolved