<?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 Web Script Status 500 - Internal Error in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/web-script-status-500-internal-error/m-p/18025#M8003</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a network printer at the office (canon c5235i)&amp;nbsp;to scan documents and send them as PDF files via email attachments to Alfresco. The process of storing the PDF files at the alfresco aliasable folder goes well, but problem is that in the document properties the mimetype is wrong&amp;nbsp;&lt;SPAN&gt;(plain text instead of PDF)!&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;And for that reason, when we try to open them, the system returns this error: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; color: #212121;"&gt;Alfresco&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Web Script Status 500 - Internal Error&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #ffffff;"&gt;The Web Script /alfresco/wcs/api/node/workspace/SpacesStore/8f3c51f2-94a4-42eb-9bd3-824798bd306d/content/thumbnails/pdf has responded with a status of 500 - Internal Error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #ffffff;"&gt;&lt;STRONG&gt;500 Description:&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; An error inside the HTTP server which prevented it from fulfilling the request.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #ffffff;"&gt;&lt;STRONG&gt;Message:&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 04193675516 Wrapped Exception (with status template): 041917511655 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js': 041917511654 041917511653 Some error occurred during document transforming. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #ffffff;"&gt;&lt;STRONG&gt;Error message:&lt;/STRONG&gt; &lt;SPAN style="color: #ff9900;"&gt;041917511652 Transformation of (Ficheiro em Anexo) has not taken place because the declared mimetype (text/plain) does not match the detected mimetype (application/pdf).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR style="color: #212121; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #212121; background-color: #ffffff;"&gt;&lt;STRONG&gt;Server:&lt;/STRONG&gt; Community v5.2.0 (r134428-b13) schema 10.005&lt;/SPAN&gt;&lt;BR style="color: #212121; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #212121; background-color: #ffffff;"&gt;&lt;STRONG&gt;Time:&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp; 19/mai/2017 11:29:22&lt;/SPAN&gt;&lt;BR style="color: #212121; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #212121; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR style="color: #212121; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #212121; background-color: #ffffff;"&gt;&lt;STRONG&gt;Diagnostics:&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Inspect Web Script (org/alfresco/repository/thumbnail/thumbnail.get)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I change the mimitype from plain text to PDF in document properties before open the PDF file, all works well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this a bug or some xml configuration that is missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #ffffff;"&gt;Please help&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #ffffff;"&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #ffffff;"&gt;Fernando&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 May 2017 09:19:14 GMT</pubDate>
    <dc:creator>fmalberto</dc:creator>
    <dc:date>2017-05-23T09:19:14Z</dc:date>
    <item>
      <title>Web Script Status 500 - Internal Error</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/web-script-status-500-internal-error/m-p/18025#M8003</link>
      <description>Hi,We have a network printer at the office (canon c5235i)&amp;nbsp;to scan documents and send them as PDF files via email attachments to Alfresco. The process of storing the PDF files at the alfresco aliasable folder goes well, but problem is that in the document properties the mimetype is wrong&amp;nbsp;(plain text</description>
      <pubDate>Tue, 23 May 2017 09:19:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/web-script-status-500-internal-error/m-p/18025#M8003</guid>
      <dc:creator>fmalberto</dc:creator>
      <dc:date>2017-05-23T09:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: Web Script Status 500 - Internal Error</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/web-script-status-500-internal-error/m-p/18026#M8004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the file extension correct (.pdf) too? Is the email html or plain? have you tried replicating this behavior with a regular email client too? Grab on of the pdfs and send them as an email to your alfresco installation?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 May 2017 11:56:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/web-script-status-500-internal-error/m-p/18026#M8004</guid>
      <dc:creator>mrks_js1</dc:creator>
      <dc:date>2017-05-27T11:56:13Z</dc:date>
    </item>
  </channel>
</rss>

