Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using history states causes crash #43

Open
nobrayner opened this issue Aug 14, 2021 · 1 comment
Open

Using history states causes crash #43

nobrayner opened this issue Aug 14, 2021 · 1 comment

Comments

@nobrayner
Copy link
Contributor

See test_history_state in tests/test_machine.py for a failing example.

Line 175 uses singular transition property off of a StateNode which doesn't exist.
Similarly, Line 66 also tries to use a singular transition property

@nobrayner
Copy link
Contributor Author

nobrayner commented Aug 17, 2021

I noticed that SCION SCXML uses s.transitions[0] in this case. This strikes me as odd, as my interpretation of how this worked was different 😅

https://gitlab.com/scion-scxml/scion/-/blob/main/projects/libraries/core-base/lib/scion-core-base.js#L762

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant