<?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 Unit test - Cannot resolve identifier 'bpm_assignee' in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/unit-test-cannot-resolve-identifier-bpm-assignee/m-p/103221#M71935</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So I've been playing around with activiti designer in eclipse and I created simple workflow using review &amp;amp; approve template and generated unit test from that. The problem is that when I run unit test I gives me this exception:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;Caused by: org.activiti.engine.impl.javax.el.PropertyNotFoundException: Cannot resolve identifier 'bpm_assignee'&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I add some fake/mock assignees in unit test? Or is there a better solution to this? Or should/can I unit test activiti workflows in alfresco?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 May 2012 09:34:20 GMT</pubDate>
    <dc:creator>matjazmuhic</dc:creator>
    <dc:date>2012-05-09T09:34:20Z</dc:date>
    <item>
      <title>Unit test - Cannot resolve identifier 'bpm_assignee'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unit-test-cannot-resolve-identifier-bpm-assignee/m-p/103221#M71935</link>
      <description>So I've been playing around with activiti designer in eclipse and I created simple workflow using review &amp;amp; approve template and generated unit test from that. The problem is that when I run unit test I gives me this exception:Caused by: org.activiti.engine.impl.javax.el.PropertyNotFoundException</description>
      <pubDate>Wed, 09 May 2012 09:34:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unit-test-cannot-resolve-identifier-bpm-assignee/m-p/103221#M71935</guid>
      <dc:creator>matjazmuhic</dc:creator>
      <dc:date>2012-05-09T09:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unit test - Cannot resolve identifier 'bpm_assignee'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unit-test-cannot-resolve-identifier-bpm-assignee/m-p/103222#M71936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The unit test functionality uses the standard Activiti Engine which doesn't know about a bpm_assignee.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The best way to test this is to deploy the process definition to Alfresco and test it there.&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>Wed, 09 May 2012 09:46:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unit-test-cannot-resolve-identifier-bpm-assignee/m-p/103222#M71936</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2012-05-09T09:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Unit test - Cannot resolve identifier 'bpm_assignee'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unit-test-cannot-resolve-identifier-bpm-assignee/m-p/103223#M71937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;But can I do unit testing there? How do I deploy a unit test for activiti worfklow to Alfresco?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2012 11:23:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unit-test-cannot-resolve-identifier-bpm-assignee/m-p/103223#M71937</guid>
      <dc:creator>matjazmuhic</dc:creator>
      <dc:date>2012-05-09T11:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Unit test - Cannot resolve identifier 'bpm_assignee'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unit-test-cannot-resolve-identifier-bpm-assignee/m-p/103224#M71938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No you can do no unit testing there, or you would have to use the Alfresco Workflow API for that and that's not really suited for that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So what I meant is that you have to deploy the process definition to Alfresco and test it in there. &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>Wed, 09 May 2012 12:47:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unit-test-cannot-resolve-identifier-bpm-assignee/m-p/103224#M71938</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2012-05-09T12:47:36Z</dc:date>
    </item>
  </channel>
</rss>

