Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-2268

check if actor has group actor ids before getting pooledTaskInstanceList

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 2.0.0.GA
    • Fix Version/s: 2.0.1.CR1
    • Component/s: None
    • Labels:
      None
    • Estimated Difficulty:
      Low

      Description

      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(); }

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                dan.j.allen Dan Allen
                Reporter:
                dan.j.allen Dan Allen
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 5 minutes
                  5m
                  Remaining:
                  Remaining Estimate - 5 minutes
                  5m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified