Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
Description
Uploading a pdf as asset does not set hippo:filename property, while subsequent re-upload from the document edit screen does.
Reproduction:
- Go to https://cms.demo.onehippo.com/content/path/content/assets/pdf/
- Upload attached Test PDF 1.pdf
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.