ALF-11437 Fix duplicated Mimetypes in the list when transforming content in Share, by either correcting labels when two mimetypes are different, or rationalising (with patch) where multiple mimetypes exist for one filetype (photoshop and AutoCAD dwg)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32254 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Nick Burch
2011-11-23 18:26:25 +00:00
parent fc1d367dc2
commit 50053fbc1c
4 changed files with 42 additions and 1 deletions

View File

@@ -160,6 +160,10 @@ public abstract class AbstractImageMagickContentTransformerWorker extends Conten
{
return false; // svg extension doesn't work
}
else if (mimetype.equals(MimetypeMap.MIMETYPE_IMG_DWG))
{
return false; // dwg extension doesn't work
}
else
{
return true;