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

Moving a transition to the root level causes runtime error #16

Open
Phrogz opened this issue Feb 28, 2023 · 1 comment
Open

Moving a transition to the root level causes runtime error #16

Phrogz opened this issue Feb 28, 2023 · 1 comment
Labels
bug Something isn't working easy less than 4 hours of work low-value Solving this provides only a little value

Comments

@Phrogz
Copy link
Owner

Phrogz commented Feb 28, 2023

  1. Edit the text of the state chart to move a <transition /> out of a state at the root to be a child of <scxml>.

EXPECTED: SCXML parse errors cause the diagram to not change, or not show at all.
ACTUAL: Runtime error.

@Phrogz Phrogz added bug Something isn't working easy less than 4 hours of work medium-value Solving this provides some value needs-design labels Feb 28, 2023
@Phrogz
Copy link
Owner Author

Phrogz commented Feb 28, 2023

Note that it is invalid for SCXML to have a <transition> in the root. Who should catch this?

@Phrogz Phrogz added low-value Solving this provides only a little value and removed needs-design medium-value Solving this provides some value labels Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working easy less than 4 hours of work low-value Solving this provides only a little value
Projects
None yet
Development

No branches or pull requests

1 participant