Robami / pystatecharts

Automatically exported from code.google.com/p/pystatecharts
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

events of value zero take precedence over all other event transitions #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. create a transition that occurs on event value of 0
2. create other transitions on other event values
3. send a non-zero event
4. the zero event transition occurs instead

The work-around is to just not have a zero event transition declaration.

Original issue reported on code.google.com by r...@haystack.mit.edu on 12 Apr 2011 at 4:59

GoogleCodeExporter commented 8 years ago
Basically what I am doing is creating a complex statechart that models the 
experiment driven system where I work. As I debug the model-as-statechart, I am 
finding errors in the statechart design, where transitions that are expected do 
not occur and surprising transitions that should not happen, do happen. 

Original comment by r...@haystack.mit.edu on 12 Apr 2011 at 5:02