Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-3226

Sentry ifPart evaluation may fail when containing stage completes before

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.3.0, 7.2.3, 7.3.0-alpha1
    • None
    • engine
    • None

      Problem:

      Whenever a sentry is satisfied that is used as an exit criterion of a task, it may occur that the containing stage completes as well. In this case, the stage's variables are removed. In some cases however, we perform another check after that whether some sentries contained in that stage are satisfied. In this case, ifPart expressions may not resolve since the stage's local variables are already gone.

      Solution hint:

      Should be fixed in CmmnExecution#handleChildTransition and should not perform the second sentry check if the stage is already completed.

      Test case:
      https://github.com/camunda/camunda-bpm-platform/commit/9bb636e26da02129ea0fcfdb2ad1a5d5efe2d817

        This is the controller panel for Smart Panels app

              thorben.lindhauer Thorben Lindhauer
              thorben.lindhauer Thorben Lindhauer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: