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 84672

Summary: Role binding allows to create roles with the same name in same namespace
Product: uml Reporter: bugbridge <bugbridge>
Component: Diagram ClassAssignee: issues@uml <issues>
Status: REOPENED ---    
Severity: blocker CC: akorostelev
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description bugbridge 2006-09-12 10:26:22 UTC
Description:
after fix of issue 84290, it is not allowed to create design pattern roles with
similar names if they are in one package or attached to the same design pattern.

But it is possible to create roles with the same name in different namespaces,
but then attache to one design pattern using 'Role Binding' link.

How to reproduce:
- create class diagram.
- put 'Design Pattern' symbol and name it.
- put two 'Class Role' symbols.
- name one of them 'role1'. Attach it to design pattern symbol using 'Role
Binding' link.
- name another role with the same name 'role1'. 
It is alloweb because the are in different namespaces.
- now Attach the second 'role1' to the same design pattern symbol using 'Role
Binding' link.

we have added two roles with the same name in one design patterns.
Comment 1 George Vasick 2007-05-17 18:48:28 UTC
Planned for drawing area upgrade after NB 6.0.
Comment 2 George Vasick 2007-05-18 00:46:08 UTC
Should not use resolved/later status.