<?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: TaskService.createAttachment requires taskID? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/taskservice-createattachment-requires-taskid/m-p/129950#M91322</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Yes, I made that mistake. While introducing the suspend/activate functionality, I overzealously made the taskId mandatory. Sorry about that.&lt;BR /&gt;The fact there were no tests doesn't help either (*that* was *not* my fault &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; )&lt;BR /&gt;&lt;BR /&gt;I fixed it on master: &lt;A href="https://github.com/Activiti/Activiti/commit/528f4bd9cb05c11f2b265a73958b90e77ab791a1" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/commit/528f4bd9cb05c11f2b265a73958b90e77ab791a1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;What you can do:&lt;BR /&gt;- Wait until we publish a 5.12 snapshot next week&lt;BR /&gt;- Copy the CreateAttachmentCmd, include it in your source code and run it through the command executor instead of calling the service.&lt;BR /&gt;&lt;BR /&gt;And yes, I added a test which tests this use case … &lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any news about by when 5.12 snapshot could be available with this correction?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 06 Jan 2013 14:47:47 GMT</pubDate>
    <dc:creator>activista</dc:creator>
    <dc:date>2013-01-06T14:47:47Z</dc:date>
    <item>
      <title>TaskService.createAttachment requires taskID?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/taskservice-createattachment-requires-taskid/m-p/129947#M91319</link>
      <description>Hi,after upgrading from 5.10 to 5.11 my code stops running.When calling method taskService.createAttachment(&amp;nbsp;&amp;nbsp;&amp;nbsp;"xx",&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;null,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;instanceID,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"Letter",&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"-",&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"http://server");I get now the exception:6.12.2012 21:03:24 org.a</description>
      <pubDate>Thu, 06 Dec 2012 20:07:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/taskservice-createattachment-requires-taskid/m-p/129947#M91319</guid>
      <dc:creator>davidk1</dc:creator>
      <dc:date>2012-12-06T20:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: TaskService.createAttachment requires taskID?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/taskservice-createattachment-requires-taskid/m-p/129948#M91320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I made that mistake. While introducing the suspend/activate functionality, I overzealously made the taskId mandatory. Sorry about that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The fact there were no tests doesn't help either (*that* was *not* my fault &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; )&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I fixed it on master: &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/commit/528f4bd9cb05c11f2b265a73958b90e77ab791a1" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/commit/528f4bd9cb05c11f2b265a73958b90e77ab791a1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What you can do:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Wait until we publish a 5.12 snapshot next week&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Copy the CreateAttachmentCmd, include it in your source code and run it through the command executor instead of calling the service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And yes, I added a test which tests this use case … &lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2012 12:11:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/taskservice-createattachment-requires-taskid/m-p/129948#M91320</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2012-12-07T12:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: TaskService.createAttachment requires taskID?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/taskservice-createattachment-requires-taskid/m-p/129949#M91321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the quick response and solution&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&amp;nbsp; &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2012 12:26:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/taskservice-createattachment-requires-taskid/m-p/129949#M91321</guid>
      <dc:creator>gunnar1</dc:creator>
      <dc:date>2012-12-07T12:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: TaskService.createAttachment requires taskID?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/taskservice-createattachment-requires-taskid/m-p/129950#M91322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Yes, I made that mistake. While introducing the suspend/activate functionality, I overzealously made the taskId mandatory. Sorry about that.&lt;BR /&gt;The fact there were no tests doesn't help either (*that* was *not* my fault &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; )&lt;BR /&gt;&lt;BR /&gt;I fixed it on master: &lt;A href="https://github.com/Activiti/Activiti/commit/528f4bd9cb05c11f2b265a73958b90e77ab791a1" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/commit/528f4bd9cb05c11f2b265a73958b90e77ab791a1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;What you can do:&lt;BR /&gt;- Wait until we publish a 5.12 snapshot next week&lt;BR /&gt;- Copy the CreateAttachmentCmd, include it in your source code and run it through the command executor instead of calling the service.&lt;BR /&gt;&lt;BR /&gt;And yes, I added a test which tests this use case … &lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any news about by when 5.12 snapshot could be available with this correction?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Jan 2013 14:47:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/taskservice-createattachment-requires-taskid/m-p/129950#M91322</guid>
      <dc:creator>activista</dc:creator>
      <dc:date>2013-01-06T14:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: TaskService.createAttachment requires taskID?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/taskservice-createattachment-requires-taskid/m-p/129951#M91323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Now, if you checkout the source and do a 'mvn install'&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Jan 2013 20:29:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/taskservice-createattachment-requires-taskid/m-p/129951#M91323</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2013-01-06T20:29:20Z</dc:date>
    </item>
  </channel>
</rss>

