Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.8.2
-
None
Description
Reproducer attached. It features a state machine that mainly does the following things:
1. Send out 2 events: "event" and "event.long".
2. 2 transitions (log by "Tr1" and "Tr2") will be triggered by "event" and 1 transition (log by "TrLong") will be triggered by "event.log".
The expected result is:
1. "Tr1" log will be triggered once
2. "Tr2" will be ignored since the first one gets defined gets executed
3. "TrLong" will be triggered once since it is from another event
The actual result is:
1. "Tr1" is triggered (expected) but twice (weird, I guess it is because the interval is 1s and exit happens at 3s so that "Tr1" repeats itself within life period).
2. "Tr2" is not triggered (expected)
3. "TrLong" is not triggered (weird, it's from another event so shouldn't be affected)
So we'd better get this sorted out. Also, we may also want to warn user at compile/runtime about "you are connecting 1 events to multiple transitions".