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

Activity Instance Tree is inconsistent for event subprocess on different requests

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.3.0, 7.3.0-alpha4
    • Component/s: engine
    • Labels:

      Description

      First problem:
      For processes with a subprocess that contains an event subprocesses, the activity instance tree contains an activity instance for EITHER the subprocess OR the event subprocess but never for both.

      Second problem:
      Which one exists appears to be more or less random on how executions are returned from the database. Evidence: Asserting the activity instance tree for these cases randomly fails on some databases (postgres on Jenkins)

      Possible solutions:

      • make the event subprocess a scope
      • fix the activity instance algorithm such that it is at least consistent and does not behave unpredictable (solving problem 2)

      Once fixed, make sure to re-add the assertions removed here: https://github.com/camunda/camunda-bpm-platform/commit/242735625c2674846985c4fd42821cb89af234bd

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              thorben.lindhauer Thorben Lindhauer
              Reporter:
              thorben.lindhauer Thorben Lindhauer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: