[jboss-jira] [JBoss JIRA] Commented: (JBPM-378) Broken support for SwimlaneInstance PooledActor reassignment
Ronald van Kuijk (JIRA)
jira-events at lists.jboss.org
Thu Jul 5 11:40:05 EDT 2007
[ http://jira.jboss.com/jira/browse/JBPM-378?page=comments#action_12367854 ]
Ronald van Kuijk commented on JBPM-378:
---------------------------------------
After adapting this test to be a real unittest, I observer the following:
- test 1 fully works
- test 2 fully works
- test 3 not needed anymore, so it became what was test 4
--> swimlane is not initialized, task is created (no pooled actors) swimlane is reassigned (works) ti.getPooledActors() returns the pooledActors of the swimlane. This is as designed:
/**
* gets the pool of actors for this task instance. If this task has a swimlaneInstance
* and no pooled actors, the pooled actors of the swimlane instance are returned.
*/
public Set getPooledActors() {
if ( (swimlaneInstance!=null)
&& ( (pooledActors==null)
|| (pooledActors.isEmpty())
)
){
return swimlaneInstance.getPooledActors();
}
return pooledActors;
}
So imo this 'issue' can be closed with an 'out of date' for 3.0 (it will not be fixed there and works in 3.2)
See the attachment
> Broken support for SwimlaneInstance PooledActor reassignment
> ------------------------------------------------------------
>
> Key: JBPM-378
> URL: http://jira.jboss.com/jira/browse/JBPM-378
> Project: JBoss jBPM
> Issue Type: Bug
> Components: Core Engine
> Affects Versions: jBPM 3.0.1
> Environment: JBPM 3.0.1, JBoss 4.0.2, JDK 1.5, Oracle and PostgresSQL
> Reporter: Britt Miner
> Assigned To: Ronald van Kuijk
> Fix For: jBPM 3.3
>
> Attachments: SwimlaneInstPoolAssignmentTest.java, SwimlaneInstPoolAssignmentTests.java
>
>
> The second post of the referenced thread more accurately describes the scope of the problem.
> Thanks,
> Britt
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list