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 80979

Summary: Aggregation link reversed directions when arrowhead end dragged from one class to a different one
Product: uml Reporter: bugbridge <bugbridge>
Component: Diagram ClassAssignee: issues@uml <issues>
Status: REOPENED ---    
Severity: blocker CC: sunflower
Priority: P3    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description bugbridge 2006-07-24 14:40:09 UTC
Original submitter: sunflower

Description:

Steps to reproduce:

- Create a java project
- Create a uml project and associate it  to the java project
- Create a class diagram
- Create 'Type1', 'Type2' and 'MyClass' classes

- Insert 'private Type1 t' attribute into source of 'MyClass' class
  Aggregation link is drawn between 'Type1' and 'MyClass' classes on the diagram.

- Move end of aggregation link from 'Type1' class to  'Type2' class
  
  Attribute 'private Type1 t' was added into 'Type2' class. But should be
  attribute 'private Type2 t' in the 'MyClass' class.
Comment 1 Craig Conover 2006-08-10 04:59:28 UTC
Review: bug is as stated. What's weird is that from that point on, moving the
link ends from class to class (no matter which end) works as expected.

Reduced from P2 to P3 because the workaround is very easy and the code is not
actually broken (uncompilable).
Comment 2 George Vasick 2007-05-17 18:49:58 UTC
Planned for drawing area upgrade after NB 6.0.
Comment 3 George Vasick 2007-05-18 00:51:23 UTC
Should not use resolved/later status.
Comment 4 George Vasick 2007-06-28 22:53:44 UTC
Targeted in drawing area redesign.
Comment 5 George Vasick 2007-07-04 00:57:23 UTC
Restoring original priority and using the standard NB waiver process.
Comment 6 George Vasick 2008-01-02 17:50:11 UTC
Diagram area bugs waived for 6.0 will also be waived for 6.1.
Comment 7 Sergey Petrov 2008-09-24 13:40:43 UTC
we have no live roundtrip any more.
but if try code gen-re with default settings some issue remains.