I replace an event (i.e. a boundary event) from interrupting to non-interrupting. I see that the global message reference gets lost.
We have existing test cases for the desired behavior (reference is kept), but due to nested it(..., function() { it(...); } calls these are not actually executed :see_no_evil:.
Describe the Bug
I replace an event (i.e. a boundary event) from interrupting to non-interrupting. I see that the global message reference gets lost.
We have existing test cases for the desired behavior (reference is kept), but due to nested
it(..., function() { it(...); }
calls these are not actually executed :see_no_evil:.https://github.com/bpmn-io/bpmn-js/pull/2248 uncovered this miss-use, and the bug.
Steps to Reproduce
Expected Behavior
When replacing an event (toggling interrupting / non-interrupting) we keep the global element reference.
Environment
Related to https://github.com/bpmn-io/bpmn-js/issues/1906