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 96160

Summary: unexpected prohibition to create two sequence diagrams for operation using CDFS
Product: uml Reporter: Andrew Korostelev <akorostelev>
Component: GeneralAssignee: issues@uml <issues>
Status: VERIFIED FIXED    
Severity: blocker Keywords: REGRESSION
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Andrew Korostelev 2007-02-21 14:23:58 UTC
It is prohoboted to create two sequence diagrams for operation using CDFS.
At the same time it is allowed for Collaboration diagrams.
Or for Sequence diagrams created using 'Reverse Engineer Operation'.

steps:
- create java application with default Main class.
- Reverse Engineer it into java-model uml project
- Expand class element node in Model tree.
- select 'Create Diagram From Selected Elements' from 'main' operation context menu.
- create Sequence diagram in opened 'New Diagram wizard'.
- Invoke 'Create Diagram From Selected Elements' for the same operation again.
- select sequence diagram again.
The following error message is displayed:
"An Operation's interaction can only contain one scoped Sequence Diagram".
'Next' and 'Finish' buttons are disabled.
Comment 1 Andrew Korostelev 2007-02-21 14:33:13 UTC
see relates issues:
issue 78274 - There is CDFS context menu item for operations and CDFT toolbar
button enabled
issue 78784 - Result of CDFS from Operations to SQD depends on nodes selection order
Comment 2 Trey Spiva 2007-02-21 22:23:08 UTC
In the past we did allow operations to  own multiple collaborations and sequence diagrams.  So, either 
something was not working correctly in the past, or this is new  code.  Eitehr way I have removed this 
logic to fix the regression.
Comment 3 Peter Lam 2007-02-22 21:34:58 UTC
verified in build 070222.