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

Bug 337856

Summary: UnitApplication's undo() changes graph
Product: [Modeling] EMFT.Henshin Reporter: Felix Rieger <riegerf>
Component: InterpreterAssignee: Enrico Biermann <enrico>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Felix Rieger CLA 2011-02-22 11:09:06 EST
There is a problem with UnitApplication's undo() method: When a UnitApplication is un-done (either manually or automatically when it fails), certain references can change their order. This changes the graph and can lead to Rules or TransformationUnits acting unexpectedly, even though loading the model graph, executing a UnitApplication and calling undo() should be equivalent to just loading the model graph.
Comment 1 Enrico Biermann CLA 2011-02-28 07:21:46 EST
The correct order of eobjects in reference lists should now be correctly restored for undo() and redo().
Comment 2 Enrico Biermann CLA 2011-02-28 14:21:31 EST
I have reverted the changes for now and reopened this bug. The update broke more than it fixed.
Comment 3 Enrico Biermann CLA 2011-03-02 04:28:32 EST
The new bugs should be fixed and undo() should work. I leave this bug open for now, in case some more problems occur.
Comment 4 Enrico Biermann CLA 2011-03-09 05:20:48 EST
It seems to work fine now.