Closed GoogleCodeExporter closed 9 years ago
Original comment by PedroAug...@gmail.com
on 4 Jun 2014 at 3:20
Cause:
The issues 575 and 576 are caused by the same problem.
By definition if there is a transition in a state that also has a
auto-transition a warning should be raised since the normal transition is
unnecessary. This verification is done by the method
checkStateForDuplicateEvents of UmpleInternalParser_CodeStateMachine.ump file.
The problem here is that this method defines a auto-transition as a transition
that does not have a guard nor event. Consequently, a timed transition is also
considered as a auto-transition and raises a warning when followed by a
"normal" transition.
Solution:
Change the autotransition definition to consider not only the existence of a
guard and a event associated with the transition but also the presence of a
timer value.
Original comment by PedroAug...@gmail.com
on 4 Jun 2014 at 6:34
Attached the patch to solve the issue and the summary about it.
Original comment by PedroAug...@gmail.com
on 5 Jun 2014 at 2:35
Attachments:
Original comment by TimothyCLethbridge
on 5 Aug 2014 at 7:04
Original issue reported on code.google.com by
TimothyCLethbridge
on 29 May 2014 at 3:03