Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-13845

Uploading a pdf does not set hippo:filename property

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 14.5.0
    • None

    Description

      Uploading a pdf as asset does not set hippo:filename property, while subsequent re-upload from the document edit screen does.

      Reproduction:

      Result:
      node /content/assets/pdf/test-pdf-1.pdf/test-pdf-1.pdf/hippogallery:asset does not have hippo:filename=Test PDF 1.pdf

      Probable fix:
      org.hippoecm.frontend.plugins.gallery.model.DefaultGalleryProcessor#makeImage should add fileName as extra parameter in the call to ResourceHelper.setDefaultResourceProperties.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jhoffman Jeroen Hoffman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: