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

Bug 314445

Summary: [ClassD] - Dead egdes after moving class to sub-package
Product: [Modeling] GMF-Tooling Reporter: Elena Shaverdova <eshaverdova>
Component: SamplesAssignee: Michael Golubev <borlander>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: borlander
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Elena Shaverdova CLA 2010-05-26 08:02:58 EDT
Build Identifier: I20100129-1300

When there are tho nodes with an edge between them, one moved to some package-as-frame, the edge does not follow it.

Reproducible: Always

Steps to Reproduce:
1. Create two nodes on canvas on class d (for example, two classes in main package).
2. Create an edge between them (for example, generalization link).
3. Create a package as frame P.
4. Move one of the nodes into package.
5. Fail: the link remains in the same place, and numerous NullPointerExceptions occure in log because of the edge having null source/target.
Comment 1 Michael Golubev CLA 2010-05-26 08:50:08 EDT
Fixed, MoveViewCommand to explicitly destroy affected edges
Comment 2 Michael Golubev CLA 2010-05-26 08:50:24 EDT
Fixed