Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
Description
There is a org.hippoecm.frontend.plugins.gallery.model.NullGalleryProcessor in place for processing assets, instantiated by org.hippoecm.frontend.plugins.gallery.NullGalleryProcessorPlugin, configured at /hippo:configuration/hippo:frontend/cms/cms-services/assetProcessorService
Despite the naming, it still tries to create an image. For instance, when uploading a .dwg image with mime type "image/vnddwg" as asset, this uoploaded file is still validated as image and rejected in the ResourceHelper#validateResource
The NullGalleryProcessor should at least override the DefaultGalleryProcessor#makeImage() method, or better yet not extend DefaultGalleryProcessor at all if possible.