<?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 Re: Error deploying with REST API in 5.16.4 in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/error-deploying-with-rest-api-in-5-16-4/m-p/176982#M130112</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I took a look through your test code and basically in the end it is using the addBinaryBody method call with a byte[] instead of a file object and is setting the content-type to application/xml instead of application/octec-stream.&amp;nbsp; I modified my code to do the same so the httpPost.setEntity is doing exactly what your test does.&amp;nbsp; I still get a 400 bad request error although I now don't see the message about the status error being an incorrect file type.&amp;nbsp; I then changed my code back to the original and now I'm only getting the bad request message and nothing about the file type.&amp;nbsp; Strange …&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Nov 2014 19:36:19 GMT</pubDate>
    <dc:creator>jrnorrisjr</dc:creator>
    <dc:date>2014-11-20T19:36:19Z</dc:date>
    <item>
      <title>Error deploying with REST API in 5.16.4</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-deploying-with-rest-api-in-5-16-4/m-p/176979#M130109</link>
      <description>After upgrading from 5.16.3 to 5.16.4 I can no longer deploy a file via the REST API.&amp;nbsp; The error says it's not a valid file type although it is as shown in some debugging out:ActivitiServiceImpl.deployProcessDefinition() - file being deployed = c:\activiti-tempfiles\MyProcess.bpmn20.xmlActivitServic</description>
      <pubDate>Thu, 06 Nov 2014 16:23:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-deploying-with-rest-api-in-5-16-4/m-p/176979#M130109</guid>
      <dc:creator>jrnorrisjr</dc:creator>
      <dc:date>2014-11-06T16:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error deploying with REST API in 5.16.4</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-deploying-with-rest-api-in-5-16-4/m-p/176980#M130110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmmm, our test has remained the same for the old and the new version: &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/blob/master/modules/activiti-rest/src/test/java/org/activiti/rest/service/api/repository/DeploymentResourceTest.java" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/blob/master/modules/activiti-rest/src/test/java/org/activiti/rest/service/api/repository/DeploymentResourceTest.java&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you check how it is done in this test and how it is different from what you do?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 20:03:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-deploying-with-rest-api-in-5-16-4/m-p/176980#M130110</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-11-18T20:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error deploying with REST API in 5.16.4</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-deploying-with-rest-api-in-5-16-4/m-p/176981#M130111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sure, I took a look there before but I'll try your approach tomorrow.&amp;nbsp; I didn't copy that code because it is using the ReflectUtil class from the engine which we are not including.&amp;nbsp; Again, the above code works in the previous version which we reverted to.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 20:11:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-deploying-with-rest-api-in-5-16-4/m-p/176981#M130111</guid>
      <dc:creator>jrnorrisjr</dc:creator>
      <dc:date>2014-11-18T20:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error deploying with REST API in 5.16.4</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-deploying-with-rest-api-in-5-16-4/m-p/176982#M130112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I took a look through your test code and basically in the end it is using the addBinaryBody method call with a byte[] instead of a file object and is setting the content-type to application/xml instead of application/octec-stream.&amp;nbsp; I modified my code to do the same so the httpPost.setEntity is doing exactly what your test does.&amp;nbsp; I still get a 400 bad request error although I now don't see the message about the status error being an incorrect file type.&amp;nbsp; I then changed my code back to the original and now I'm only getting the bad request message and nothing about the file type.&amp;nbsp; Strange …&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 19:36:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-deploying-with-rest-api-in-5-16-4/m-p/176982#M130112</guid>
      <dc:creator>jrnorrisjr</dc:creator>
      <dc:date>2014-11-20T19:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error deploying with REST API in 5.16.4</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-deploying-with-rest-api-in-5-16-4/m-p/176983#M130113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The issue was that it used the name field of the multipart file instead of the filename. I've committed a fix so that the filename is used if it exists. That should fix your issue, let me know if you are still running into issues.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2014 09:26:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-deploying-with-rest-api-in-5-16-4/m-p/176983#M130113</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2014-11-25T09:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error deploying with REST API in 5.16.4</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-deploying-with-rest-api-in-5-16-4/m-p/176984#M130114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the update Tijs.&amp;nbsp; We will give it a try.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 13:43:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-deploying-with-rest-api-in-5-16-4/m-p/176984#M130114</guid>
      <dc:creator>jrnorrisjr</dc:creator>
      <dc:date>2014-12-01T13:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error deploying with REST API in 5.16.4</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-deploying-with-rest-api-in-5-16-4/m-p/176985#M130115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I think I'm having the same issue with 5.16.4, is the fix that you commited available? where can I find it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2014 15:47:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-deploying-with-rest-api-in-5-16-4/m-p/176985#M130115</guid>
      <dc:creator>leac87</dc:creator>
      <dc:date>2014-12-05T15:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error deploying with REST API in 5.16.4</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-deploying-with-rest-api-in-5-16-4/m-p/176986#M130116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's available on the current master not in 5.16.4. It will be included in the 5.17 release that we'll do in few weeks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2014 16:09:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-deploying-with-rest-api-in-5-16-4/m-p/176986#M130116</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2014-12-05T16:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error deploying with REST API in 5.16.4</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-deploying-with-rest-api-in-5-16-4/m-p/176987#M130117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am also facing the same issue when I try to deploy a process from a Chrome REST client. Please help what to do?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 12:21:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-deploying-with-rest-api-in-5-16-4/m-p/176987#M130117</guid>
      <dc:creator>chandan_t81</dc:creator>
      <dc:date>2014-12-11T12:21:19Z</dc:date>
    </item>
  </channel>
</rss>

