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 - unexpected prohibition to create two sequence diagrams for operation using CDFS
Summary: unexpected prohibition to create two sequence diagrams for operation using CDFS
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@uml
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-02-21 14:23 UTC by Andrew Korostelev
Modified: 2007-02-22 21:34 UTC (History)
0 users

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 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.