cancel
Showing results for 
Search instead for 
Did you mean: 

Transformer for 'application/pdf' mime type not found

sanket
Champ on-the-rise
Champ on-the-rise
I m using Alfresco3.2
If i upload a file in a folder which contain the following rule: Transform and copy content to PDF.
I get the exception as follows.

Message:03200008 Transformer for 'UTF-8' source mime type and 'application/pdf' target mime type was not found. Operation can't be performed
   
Exception:   org.alfresco.service.cmr.rule.RuleServiceException - 03200008 Transformer for 'UTF-8' source mime type and 'application/pdf' target mime type was not found. Operation can't be performed


I want to confirm that is it a bug in alfresco 3.2 or am I making any mistake ?

https://issues.alfresco.com/jira/browse/ALF-2070

Thanks.
2 REPLIES 2

derek
Star Contributor
Star Contributor
Hi,
This is not a problem with the transformer since "UTF-8" is not a valid mime type.  How is the encoding value ending up in the mime type field?
Regards

sanket
Champ on-the-rise
Champ on-the-rise
Yes, you are right.

I had to change upload.post.js of fileupload webscript.

I changed the statement
upload.properties.content.mimetype = "UTF-8";
to
upload.properties.content.mimetype = "text/plain";


Now the file is uploading even in those spaces where rule to convert to PDf is created.

Thanks Derek.
Thanks a lot.