Skip to content

Global references are not kept when replacing an event (interrupting to non-interrupting) #2249

@nikku

Description

@nikku

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 🙈.

#2248 uncovered this miss-use, and the bug.

Steps to Reproduce

  1. Uncomment these tests
  2. See that test suite fails

Expected Behavior

When replacing an event (toggling interrupting / non-interrupting) we keep the global element reference.

Environment

  • Browser: Any
  • OS: Any
  • Library version: v17.1.0

Related to #1906

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions