Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-4520

[GSS] (6.4.z) BAMTaskSummary.status is incorrectly updated by BAMEventListener

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 6.4.1
    • 6.0.3.GA, 6.4.0
    • Business Central
    • All

    • CR1
    • Hide

      None, as the wrong state is written into the DB by the BAMEventListener.

      Show
      None, as the wrong state is written into the DB by the BAMEventListener.

    Description

      A customer was observing that the BAMTaskSummary.status and Task.status were out of sync:
      BAMTaskSummary.status = 'Exited'
      Task.status = 'Reserved'

      Upon investigation, the TaskEvent tables for the process (taskid) in question had the following entries when the task has changed ownership:
      38590 05-NOV-16 10.20.02.646000000 AM 15653 DELEGATED one@acme.com 0
      38591 05-NOV-16 10.20.02.650000000 AM 15653 EXITED one@acme.com 0
      38603 05-NOV-16 10.19.44.547000000 AM 15653 ADDED two@acme.com 0
      44908 21-NOV-16 05.08.35.999000000 PM 15653 EXITED one@acme.com 0

      It was identified that BAMTaskEventListener was incorrectly updating the status to Exited:
      https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/jbpm-human-task-audit/src/main/java/org/jbpm/services/task/lifecycle/listeners/BAMTaskEventListener.java#L140

      Attachments

        Issue Links

          Activity

            People

              swiderski.maciej Maciej Swiderski (Inactive)
              jean.abraham_jira Jean Abraham (Inactive)
              Tibor Zimányi Tibor Zimányi
              Tibor Zimányi Tibor Zimányi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: