<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Template rendering : null mime-type error in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/template-rendering-null-mime-type-error/m-p/323579#M10580</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm trying to render a document with a docx template using Freemarker, but I got the following error :&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;org.nuxeo.ecm.core.convert.api.ConversionException: Failed to invoke operation Blob.RunConverter, null mime type not supported by any2pdf converter
at org.nuxeo.ecm.core.convert.service.ConversionServiceImpl.convert(ConversionServiceImpl.java:323) ~[nuxeo-core-convert-10.10.jar:?]
at org.nuxeo.ecm.automation.core.operations.blob.RunConverter.run(RunConverter.java:66) ~[nuxeo-automation-core-10.10.jar:?]&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;My guess is that the &lt;A href="https://github.com/nuxeo/nuxeo/blob/master/modules/platform/nuxeo-template-rendering/nuxeo-template-rendering-core/src/main/java/org/nuxeo/template/automation/RenderWithTemplateOperation.java#L87"&gt;TemplateProcessor.Render&lt;/A&gt; operation returns a blob with no mime type, but I can't really see why.&lt;/P&gt;
&lt;P&gt;You can see where the error is thrown &lt;A href="https://github.com/nuxeo/nuxeo/blob/82585cb126952e59c7ee0208f5ee1b79f7a38e6e/modules/core/nuxeo-core-convert/src/main/java/org/nuxeo/ecm/core/convert/service/ConversionServiceImpl.java#L323"&gt;here&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Any help appreciated !&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jul 2020 09:23:59 GMT</pubDate>
    <dc:creator>Corentin_Bourdo</dc:creator>
    <dc:date>2020-07-27T09:23:59Z</dc:date>
    <item>
      <title>Template rendering : null mime-type error</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/template-rendering-null-mime-type-error/m-p/323579#M10580</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm trying to render a document with a docx template using Freemarker, but I got the following error :&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;org.nuxeo.ecm.core.convert.api.ConversionException: Failed to invoke operation Blob.RunConverter, null mime type not supported by any2pdf converter
at org.nuxeo.ecm.core.convert.service.ConversionServiceImpl.convert(ConversionServiceImpl.java:323) ~[nuxeo-core-convert-10.10.jar:?]
at org.nuxeo.ecm.automation.core.operations.blob.RunConverter.run(RunConverter.java:66) ~[nuxeo-automation-core-10.10.jar:?]&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;My guess is that the &lt;A href="https://github.com/nuxeo/nuxeo/blob/master/modules/platform/nuxeo-template-rendering/nuxeo-template-rendering-core/src/main/java/org/nuxeo/template/automation/RenderWithTemplateOperation.java#L87"&gt;TemplateProcessor.Render&lt;/A&gt; operation returns a blob with no mime type, but I can't really see why.&lt;/P&gt;
&lt;P&gt;You can see where the error is thrown &lt;A href="https://github.com/nuxeo/nuxeo/blob/82585cb126952e59c7ee0208f5ee1b79f7a38e6e/modules/core/nuxeo-core-convert/src/main/java/org/nuxeo/ecm/core/convert/service/ConversionServiceImpl.java#L323"&gt;here&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Any help appreciated !&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2020 09:23:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/template-rendering-null-mime-type-error/m-p/323579#M10580</guid>
      <dc:creator>Corentin_Bourdo</dc:creator>
      <dc:date>2020-07-27T09:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Template rendering : null mime-type error</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/template-rendering-null-mime-type-error/m-p/323580#M10581</link>
      <description>&lt;P&gt;I think the problem might happen here&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 07:55:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/template-rendering-null-mime-type-error/m-p/323580#M10581</guid>
      <dc:creator>Corentin_Bourdo</dc:creator>
      <dc:date>2020-07-28T07:55:49Z</dc:date>
    </item>
  </channel>
</rss>

