-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.9.5
-
Component/s: Excel Export
Currently it matches only the input Blob mime type: this means we must register in the File Importer all the mime types of a normalised mime type to make it works => duplicated information.
Matching also the normalised mime type will allow us to:
- Register all the mime types that are related to photoshop files
<mimetype normalized="application/photoshop" binary="false" iconPath="image.gif"> <mimetypes> <mimetype>application/photoshop</mimetype> <mimetype>application/x-photoshop</mimetype> <mimetype>image/photoshop</mimetype> <mimetype>image/x-photoshop</mimetype> <mimetype>image/psd</mimetype> <mimetype>image/x-psd</mimetype> <mimetype>image/vnd.adobe.photoshop</mimetype> <mimetype>application/psd</mimetype> <mimetype>zz-application</mimetype> <mimetype>zz-winassoc-psd</mimetype> </mimetypes> <extensions> <extension>psd</extension> </extensions> </mimetype>
- Add only the application/photoshop mime type in the ImagePlugin:
<plugin name="Imageplugin" class="org.nuxeo.ecm.platform.picture.extension.ImagePlugin" order="10"> ... <filter>application/photoshop</filter> ... </plugin>
This way, all photoshop files, regardless of their specific mime types, will be imported through the ImagePlugin if their mime types are in the first contribution.
- is required by
-
NXP-14829 Failing unit tests because of an NPE in FileManagerService
- Resolved