Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314445 - [ClassD] - Dead egdes after moving class to sub-package
Summary: [ClassD] - Dead egdes after moving class to sub-package
Status: RESOLVED FIXED
Alias: None
Product: GMF-Tooling
Classification: Modeling
Component: Samples (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Michael Golubev CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-26 08:02 EDT by Elena Shaverdova CLA
Modified: 2012-12-11 15:11 EST (History)
1 user (show)

See Also:


Attachments

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