Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-11182

Share View Details of .SVG file throws 500 Internal Error

    Details

    • Type: Service Pack Request
    • Status: Closed (View Workflow)
    • Resolution: Fixed
    • Affects Version/s: 4.1.6.8, 4.1.6, 4.1.8
    • Fix Version/s: 4.1.9
    • Component/s: Share Application
    • Labels:
      None

      Description

      Share View Details of an .SVG file which was uploaded via WebDAV throws 500 Internal Error

      To Reproduce:
      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

      Expected Result:
      The thumbnail should be shown (or nothing if there is no thumbnail).

      Actual Result:
      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

      Analysis:
      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:
      mimetype="image/svg"
      instead of (corrected by ALF-14746 in 4.2.x):
      mimetype="image/svg+xml"
      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 4.1.6.8 has no children at all! See attachment 4.1.6.8-svg-no-children.png

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedbugs Closed Bugs (Inactive)
                  Reporter:
                  jsinha Jay Sinha [X] (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 1 day, 1 hour
                    1d 1h

                      Structure Helper Panel