Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349083 - Model with two transitions at the same transition point generates wrong code
Summary: Model with two transitions at the same transition point generates wrong code
Status: CLOSED FIXED
Alias: None
Product: eTrice
Classification: Modeling
Component: Generators (show other bugs)
Version: 0.1.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: 0.1.0
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-10 14:47 EDT by Thomas Jung CLA
Modified: 2011-12-16 02:45 EST (History)
1 user (show)

See Also:
hrr: indigo+


Attachments
test model (5.13 KB, text/plain)
2011-06-10 14:47 EDT, Thomas Jung CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Jung CLA 2011-06-10 14:47:01 EDT
Created attachment 197808 [details]
test model

If a model contains two triggerd transitions at a single transition point with the same port and message but different guards, the codegenrerator generates wrong code.
Comment 1 Henrik Rentz-Reichert CLA 2011-06-12 02:54:31 EDT
- made name generation unique for self transitions
- fixed wrong assumption that transition point must not have more than one outgoing transition (e.g. two self transitions)

fixed with
d0d60994192dea60b8fda36fb2148b42ea558006
Comment 2 Henrik Rentz-Reichert CLA 2011-12-16 02:45:56 EST
closed resolved bug