List Info

Thread: Closed: (JBSEAM-2268) check if actor has group actor ids before gett




Closed: (JBSEAM-2268) check if actor has group actor ids before gett
country flaguser name
United States
2007-11-28 14:35:46
     [ http://jira.jboss.com/jira/browse/JBSEAM-2268?page=all
]

Dan Allen closed JBSEAM-2268.
-----------------------------


> 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
>
>   Original Estimate: 5 minutes
>  Remaining Estimate: 5 minutes
>
> 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.atl
assian.com/software/jira

        
_______________________________________________
jbossseam-issues mailing list
jbossseam-issueslists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbossseam-issu
es

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )