Details
-
Bug
-
Resolution: Fixed
-
Neutral
-
6.2.5
-
None
-
None
-
Empty show more show less
-
Yes
-
UI Maintenance 4
-
2
Description
Steps to reproduce
- Open assets app
- Open thumbnail view
Expected results
Only assets are shown
Actual results
Folders are also shown, which don't show an icon so lots of empty thumbnails appear
![]()
Workaround
Development notes
This is happening because when info.magnolia.ui.contentapp.browser.ThumbnailView instantiates info.magnolia.ui.vaadin.layout.LazyThumbnailLayout, it is making use of the configured info.magnolia.ui.contentapp.JcrDataProvider, which retrieves the configuration from the datasource definition, allowedNodeTypes property (mgnl:folder and mgnl:asset)
On the contrary, in the old assets app, info.magnolia.ui.workbench.thumbnail.JcrThumbnailContainer was used, which includes a specific constraint not to retrieve items of type mgnl:folder
Final solution
Folder icons is use as preview for folders.
Checklists
Attachments
Issue Links
- is duplicated by
-
MGNLUI-6933 Broken images in asset thumbnail view
-
- Open
-
-
MGNLUI-5348 Broken folder preview in thumbnail view
-
- Closed
-