[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2268) check if actor has group actor ids before getting pooledTaskInstanceList
Dan Allen (JIRA)
jira-events at lists.jboss.org
Sun Nov 18 01:48:39 EST 2007
check if actor has group actor ids before getting pooledTaskInstanceList
------------------------------------------------------------------------
Key: JBSEAM-2268
URL: http://jira.jboss.com/jira/browse/JBSEAM-2268
Project: JBoss Seam
Issue Type: Bug
Affects Versions: 2.0.0.GA
Reporter: Dan Allen
Assigned To: Dan Allen
Priority: Minor
Fix For: 2.0.1.GA
If the current actor does not have any group actor ids, then the pooledTaskInstanceList should be smart and return an empty list rather than allow a jBPM exception to be thrown due to a failed Hibernate query.
Current result:
couldn't get pooled task instances list for actors '[]'
Easy fix:
if ( Actor.instance().getGroupActorIds().size() == 0 )
{
return Collections.<TaskInstance>emptyList();
}
--
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 seam-issues
mailing list