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 84285

Summary: Apply Pattern wizard allows to set the same class/interface name for many EJB/pattern roles
Product: uml Reporter: bugbridge <bugbridge>
Component: Design CenterAssignee: issues@uml <issues>
Status: NEW ---    
Severity: blocker CC: mikk
Priority: P4    
Version: 5.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

Description bugbridge 2006-09-06 11:10:51 UTC
Original submitter: mikk

Description:
Steps to reproduce:
 - create a UML project
 - create a package there
 - add an interface to the package, name it IOneForAll
 - select the package node in the project tree, click Apply Design Pattern... in
the context menu. 
 - select a EJB 2.0 StatefullSession pattern, proceed to Role Participants page
 - Set IOneForAll interface as the participant for all possible Roles
IDE allows to proceed with such settings but it should not
xxx@xxxx 2005-06-09 12:03:30 GMT
Comment 1 Sergey Petrov 2006-09-06 11:35:32 UTC
It's possible for any package to specify any number of same participants
(existed or not yet existed)
Comment 2 Peter Lam 2008-06-10 22:51:23 UTC
still exists in 6.5 but there's a dialog to warn users of possible overwritten since all elements specified are same.