itemisCREATE / statecharts

YAKINDU Statechart Tools (http://www.statecharts.org)
Eclipse Public License 1.0
175 stars 85 forks source link

Error handling for identical statechart names #1198

Closed tkutz closed 5 years ago

tkutz commented 7 years ago

As pointed out in this comment: https://groups.google.com/forum/embed/?place=forum%2Fyakindu-user#!topic/yakindu-user/hLtKW32bbdc

When having two identically named statecharts, the sgen model is always using the first one from index. This is unclear for the user. We should either provide some warning/error message, or some opportunity to qualify the statechart in sgen.

andreasmuelder commented 7 years ago

We can use the namespace feature to qualify the statechart name. The error message should give a hint on how to use a namespace.

rherrmannr commented 5 years ago

This is fixed with https://github.com/Yakindu/statecharts/pull/2305