-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 8.10, 9.10, 10.1
-
Fix Version/s: 8.10-HF43, 9.10-HF28, 10.10-HF02, 11.1, 2021.0
-
Component/s: Seam / JSF UI
- create a document type named ComposedDocument extending File
- in the forms add 2 widgets:
- one for *file:content*
- one for *file:files*
- add the Folderish facet
- save project
- install nuxeo 8.10 or later
- synchronize the project
- create a document of type ComposedDocument
- add the azeaze.xls file as main attachment and in the files section
- save the document
- try to preview the main attachment (eye icon)
- observe it displays the following error:
{"entity-type":"exception","status":404,"message":"Preview not available"}
- try to export as pdf the main attachment (PDF icon) and observe it works fine
- try to preview the second attached file and observe it works fine
Now remove the Folderish facet in the Studio project and replay the same scenario. Everything works fine.
There are no errors in the Nuxeo server logs.
Comparing the onclick javascript for folderish and non-folderish documents reveals they are the same.