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 - Aggregation link is not redrawn after attribute's type is changed
Summary: Aggregation link is not redrawn after attribute's type is changed
Status: RESOLVED DUPLICATE of bug 78474
Alias: None
Product: uml
Classification: Unclassified
Component: Diagram Class (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-19 12:58 UTC by bugbridge
Modified: 2006-08-31 02:09 UTC (History)
1 user (show)

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 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 ***