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 86445

Summary: UCD - impossible to set association between actor and package
Product: uml Reporter: bugbridge <bugbridge>
Component: Diagram UsecaseAssignee: Thuy.d Nguyen <thuydn>
Status: RESOLVED INVALID    
Severity: blocker CC: lvv
Priority: P2    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description bugbridge 2006-10-04 10:52:50 UTC
Original submitter: lvv

Description:

To reproduce:
- create Use Case Diagram with actor and package
- try to associate the actor and the package 
BUG: impossible to set the association
(i.e something like this can't be done:
http://www.agilemodeling.com/style/packageDiagram.htm#UseCasePackageDiagrams
)
Comment 1 Thuy.d Nguyen 2007-01-17 00:34:05 UTC
According to UML 2.0 Superstructure Specification
(http://www.omg.org/technology/documents/formal/uml.htm),  "An actor can only
have associations to use cases, components, and classes....".  The specs for
Association also mentions that the association end types must be a instance of a
classifier.   Package is not a classifier but a namespace, thus creating an
assocication link between an actor and a package is not supported.
Comment 2 Peter Lam 2007-01-18 00:44:22 UTC
I agree that the spec is correct ;-) 
What is supported beyond the spec is just additional feature of other tools. If
NB UML tool does not support this, this is surely an invalid bug but can be
changed to an enhancement if this feature is requested by users.