Share View Details of an .SVG file which was uploaded via WebDAV throws 500 Internal Error
1. Map Alfresco as a WebDAV drive
2. From a client, upload an *.svg (Scalar Vector Graphics) file to the WebDAV drive
3. In Share, open document details page for this uploaded document
The thumbnail should be shown (or nothing if there is no thumbnail).
An error has occured in the Share component: /share/service/components/node-details/node-header.
It responded with a status of 500 - Internal Error.
Error Code Information: 500 - An error inside the HTTP server which prevented it from fulfilling the request.
Error Message: 03100000 Failed to process template org/alfresco/components/node-details/node-header.get.html.ftl
This problem does not occur with 4.1.3, although 4.1.3 does not show a preview thumbnail. Both 4.1.3 and 4.1.6 have the same (wrong) mimetype for SVG defined in mimetype-map.xml. They both have:
instead of (corrected by
ALF-14746 in 4.2.x):
So this does not explain the different behaviour. However, the SVG file in 4.1.3 has a child: cm:doclib is cm:failedThumbnail. See attachment 4.1.3-svg-child-doclib.png
The SVG file in 184.108.40.206 has no children at all! See attachment 220.127.116.11-svg-no-children.png