Details
-
Bug
-
Resolution: Incomplete
-
P2: Important
-
None
-
5.10.1, 5.15.7, 6.2.1
-
macOS 10.12
Description
When a history state is included inside a parent state then it is excluded from the generated code for the state machine. In the attached example, the history state is inside the Window state, as a result when you try to trigger the doorClosed state it will have the wrong index and it fails to trigger any bindings attached to that state.
This is because the generated code does not include the history state which means the indexes are off by one after where that state would have been included.