Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)

105789: Merged 5.0.N (5.0.3) to HEAD-BUG-FIX (5.1/Cloud)
      105688: Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.3)
         105568: MNT-13919: Check for Metadata Embed Support is Incorrect
           - Fixed check for embedding support of media type


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@105945 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2015-06-11 13:25:07 +00:00
parent 62565e913d
commit bd1d0159e2

View File

@@ -1136,7 +1136,7 @@ abstract public class AbstractMappingMetadataExtracter implements MetadataExtrac
protected void checkIsEmbedSupported(ContentWriter writer)
{
String mimetype = writer.getMimetype();
if (!isSupported(mimetype))
if (!isEmbeddingSupported(mimetype))
{
throw new AlfrescoRuntimeException(
"Metadata extracter does not support embedding mimetype: \n" +