Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 338798

Summary: Empty FSM-Subgraph deletes the complete modelfile (.room)
Product: [Modeling] eTrice Reporter: Thomas Jung <tj>
Component: UserInterfaceAssignee: Henrik Rentz-Reichert <hrr>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: 0.1.0

Description Thomas Jung CLA 2011-03-03 07:46:52 EST
Creating a new Subgraph and not draw any element (state, choice,...) will delete the complete .room file during saving the empty graph.
Comment 1 Thomas Jung CLA 2011-03-03 08:19:09 EST
Deleting the subgraph should be forbidden, because navigating back to the upper level is no longer possible.
Comment 2 Henrik Rentz-Reichert CLA 2011-03-04 08:36:03 EST
We have to hook into the save operation and remove empty subgraphs first.

Also the graphical hint that a state has sub structure should be updated automatically.
Add the corresponding GA in any case but toggle its visibility.
Comment 3 Thomas Jung CLA 2011-03-04 12:39:28 EST
Also the graphical hint that a state has sub structure should be updated
automatically.
Add the corresponding GA in any case but toggle its visibility.
=> the same Problem exists within the Structure Diagram, right?
For all references.
Comment 4 Henrik Rentz-Reichert CLA 2011-03-09 10:53:26 EST
Fixed with
d20daed30c77339b77effbeedd05086e8d7168bc
Comment 5 Henrik Rentz-Reichert CLA 2011-12-16 02:45:49 EST
closed resolved bug
Comment 6 Henrik Rentz-Reichert CLA 2011-12-16 02:48:10 EST
tagged as version 0.1.0