This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 138437 - link to self is lost on element when DnD element from project tree to diagram
Summary: link to self is lost on element when DnD element from project tree to diagram
Status: VERIFIED INVALID
Alias: None
Product: uml
Classification: Unclassified
Component: General Diagram (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-27 02:57 UTC by Peter Lam
Modified: 2008-08-07 21:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Lam 2008-06-27 02:57:08 UTC
build 20080626

- create a state diagram
- create and name a simple state on the diagram
- create a link of any type from and to the same simple state
- DnD the same simple state from project tree to the diagram
Result: no link is displayed.
Comment 1 Peter Lam 2008-06-27 02:59:50 UTC
this also applies to other diagram, eg, invocation in activity diagram.
Comment 2 George Vasick 2008-06-30 23:10:59 UTC
It appears fixed in today's build.
Comment 3 Peter Lam 2008-08-06 22:47:42 UTC
verified in build 20080805 that this problem still exists.
Comment 4 Trey Spiva 2008-08-07 21:24:59 UTC
I think this is because of the way that a node is dropped onto the diagram.  If the node is not present on the diagram, when you drag and drop the node 
onto the diagram we will discover the relationships.  If the nodes is already present on the diagram, we do not try to recreate the relationships because the 
diagram will have redundant information.
Comment 5 Peter Lam 2008-08-07 21:51:12 UTC
I see. I can agree to this explanation.