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.
Netbeans 5.5 Preview (build 2006.01.31) Steps to reproduce: - Put class element on class diagram and name it 'Class1'. - Put class element on class diagram and name it 'Class2'. - Insert 'Class2 c;' attribute in to the source code of the 'Class1' class. The 'Aggregation' link is drawn from 'Class1' to 'Class2'. - Insert 'Class1 c;' attribute in to the source code of the 'Class2' class. The 'Aggregation' link is not drawn from 'Class2' to 'Class1'. get/set methods are not generated for 'Class1 c;' attribute in the 'Class2' class.
Review: bug is as stated. If you were to add it with a different name, it gets added properly. But then change that name to to be the same as the other name in the other class, and it prompts that the name is in use and to use another name. I'm not sure that is even a valid message as the names are inside diffent classes, so it should be OK to do that.
This scenario is obsolete because of the Roundtrip Redisgn: issue 84855
verified