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 - Role binding allows to create roles with the same name in same namespace
Summary: Role binding allows to create roles with the same name in same namespace
Status: REOPENED
Alias: None
Product: uml
Classification: Unclassified
Component: Diagram Class (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-12 10:26 UTC by bugbridge
Modified: 2009-05-25 21:06 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-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.