<?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: REST API Bug in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-bug/m-p/166109#M119737</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have created code for process attachment and I have found a little bug in RestResponseFactory in createAttachementResponse.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In your code :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(attachment.getProcessInstanceId() != null) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; result.setTaskUrlsecuredResource.createFullResourceUrl(RestUrls.URL_PROCESS_INSTANCE, attachment.getProcessInstanceId()));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This should be :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(attachment.getProcessInstanceId() != null) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; result.setProcessInstanceUrl(securedResource.createFullResourceUrl(RestUrls.URL_PROCESS_INSTANCE, attachment.getProcessInstanceId()));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Dec 2013 07:48:46 GMT</pubDate>
    <dc:creator>jplaux</dc:creator>
    <dc:date>2013-12-17T07:48:46Z</dc:date>
    <item>
      <title>REST API Bug</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-bug/m-p/166106#M119734</link>
      <description>Hi,I have noticed a very little bug in rest api.With the current api, if you want to unclaim a task, you have to claim a task with assignee = null but Rest-api throws an exception when assignee is null.Just remove the throwing in TaskResource to solve the problem.Jean-Pascal</description>
      <pubDate>Tue, 26 Nov 2013 13:09:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-api-bug/m-p/166106#M119734</guid>
      <dc:creator>jplaux</dc:creator>
      <dc:date>2013-11-26T13:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Bug</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-bug/m-p/166107#M119735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jean-Pascal,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for reporting this. Seems like a valid fix for the problem, allowing the assignee in the payload to be null, when claiming. Will fix this in 5.15…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 09:10:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-api-bug/m-p/166107#M119735</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-12-05T09:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Bug</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-bug/m-p/166108#M119736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;See &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/commit/57034fa44bfbaefdd2449d70cbe4da668659e687" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/commit/57034fa44bfbaefdd2449d70cbe4da668659e687&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 09:27:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-api-bug/m-p/166108#M119736</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-12-05T09:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Bug</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-bug/m-p/166109#M119737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have created code for process attachment and I have found a little bug in RestResponseFactory in createAttachementResponse.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In your code :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(attachment.getProcessInstanceId() != null) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; result.setTaskUrlsecuredResource.createFullResourceUrl(RestUrls.URL_PROCESS_INSTANCE, attachment.getProcessInstanceId()));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This should be :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(attachment.getProcessInstanceId() != null) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; result.setProcessInstanceUrl(securedResource.createFullResourceUrl(RestUrls.URL_PROCESS_INSTANCE, attachment.getProcessInstanceId()));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 07:48:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-api-bug/m-p/166109#M119737</guid>
      <dc:creator>jplaux</dc:creator>
      <dc:date>2013-12-17T07:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Bug</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-api-bug/m-p/166110#M119738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for reporting, I'll fix this on master now so it get's in the 5.15 release…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 08:39:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-api-bug/m-p/166110#M119738</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-12-17T08:39:22Z</dc:date>
    </item>
  </channel>
</rss>

