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

StateMachine#transition does not validate its first argument properly #13

Closed
doudou opened this issue Sep 16, 2014 · 0 comments
Closed

Comments

@doudou
Copy link
Member

doudou commented Sep 16, 2014

If the first argument to #transition is an event, the method does not validate that the event (1) is actually coming from a state and (2) that this state is an already defined state in the state machine. This causes a pretty unexpected behaviour, in which the transition is never fired (since we are never in the transition's state).

@doudou doudou closed this as completed Aug 15, 2017
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