Invoking ProcessEngines#ProcessEngines for the first time always creates a new process engine

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Unresolved
    • Priority: L3 - Default
    • None
    • Affects Version/s: None
    • Component/s: engine
    • None

      Scenario:

      • Create a process engine based on camunda.cfg.xml
      • Assume the name is "foo"
      • Call ProcessEngines.getProcessEngine("foo")
      • This always reads camunda.cfg.xml again, creates another process engine, registers it (and therefore may replace the original "foo" engine)

      Impact:

      • This method is harmful in scenarios like above, for example our test suite

      Side note:

      • process engine initialization is also not thread-safe

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Thorben Lindhauer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: