Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-1921

getGroupTaskList(List actorids) behaviour changed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jBPM 3.3.1 GA, jBPM 3.2.5 GA
    • jBPM 3.3.0 GA
    • None
    • None

      We migrated from jpdl v3.2.3 to v3.3 and did see some new behaviour for "JBPMContext.getGroupTaskList(List actorIds)".

      Behaviour in V3.2.3: Assigning a task to two pooledActorIds and calling JBPMContext.getGroupTaskList(List actorIds) with these two pooledActorIds will get you a list with one TaskInstance.
      In v3.3 you will get now a list with two items, which are two references to the same Taskinstance.

      While digging into the code I've found a change in the corresponding hibernate-query ("TaskMgmtSession.findPooledTaskInstancesByActorIds" in hibernate.queries.hbm.xml). The 3.2.3 version uses the "distinct" keyword, while the 3.3 one does not.

      Since this is some change in behaviour of the method JBPMContext.getGroupTaskList(List actorIds) either it should be fixed, or if intended should be documented somewhere.

      Best regards,
      Daniel Bremer-Tonn

            aguizar_jira Alejandro Guizar (Inactive)
            nilian Daniel Bremer-Tonn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: