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 80567

Summary: Aggregation link is not redrawn after attribute's type is changed
Product: uml Reporter: bugbridge <bugbridge>
Component: Diagram ClassAssignee: issues@uml <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: sunflower
Priority: P3    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description bugbridge 2006-07-19 12:58:38 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.

- Change type of 't' attribute from 'Type1' to 'Type2' in the source of
'MyClass' class
- Go to the class diagram

  The Aggregation link is still drawn between 'Type1' and 'MyClass' classes,
   not between 'Type2' and 'MyClass' classes.
Comment 1 Craig Conover 2006-08-14 20:17:41 UTC
Review: bug is as stated. This is a diagram refresh issue.

Workaround: delete MyClass from diagram, then drag it back on to the diagram
from the Model tree. Aggregation link will be drawn to the correct Type2 class.

Changing subcomponent of this issue from "synchronization" to "diagram class"
because it is a class diagram refresh issue. The code synch is actually working
fine.
Comment 2 Craig Conover 2006-08-14 20:18:24 UTC
This is a duplicate of issue 78474.

*** This issue has been marked as a duplicate of 78474 ***