Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338798 - Empty FSM-Subgraph deletes the complete modelfile (.room)
Summary: Empty FSM-Subgraph deletes the complete modelfile (.room)
Status: CLOSED FIXED
Alias: None
Product: eTrice
Classification: Modeling
Component: UserInterface (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Henrik Rentz-Reichert CLA
QA Contact:
URL:
Whiteboard: 0.1.0
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-03 07:46 EST by Thomas Jung CLA
Modified: 2011-12-16 02:48 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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