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 78548 - Aggregation link is not generated if inverted link with the same name already exists
Summary: Aggregation link is not generated if inverted link with the same name already...
Status: VERIFIED INVALID
Alias: None
Product: uml
Classification: Unclassified
Component: Synchronization (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-20 12:51 UTC by bugbridge
Modified: 2006-10-12 15:29 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-06-20 12:51:26 UTC
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.
Comment 1 Craig Conover 2006-08-11 02:19:51 UTC
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.
Comment 2 Craig Conover 2006-10-12 00:26:01 UTC
This scenario is obsolete because of the Roundtrip Redisgn: issue 84855
Comment 3 Alexandr Scherbatiy 2006-10-12 15:29:50 UTC
verified