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.
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.
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.
This is a duplicate of issue 78474. *** This issue has been marked as a duplicate of 78474 ***