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 118432

Summary: RE Operation: canceling the re-operation action still creates the interaction node
Product: uml Reporter: Peter Lam <petersl>
Component: Reverse EngineeringAssignee: issues@uml <issues>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 118427    
Bug Blocks:    
Attachments: incomplete re-op action result

Description Peter Lam 2007-10-10 18:56:59 UTC
This is not a regression since it's also in NB 5.5.

Repro steps:
- create a java project with the following class

import javax.swing.JDialog;
  public class TestDialog extends JDialog {
    
    public TestDialog() {
        initComponents();
    }
        
    public void initComponents(){
        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
    }    
  }

- reverse engineer the java project
- expand the uml project down to the TestDialog class, but do not expand operation "initComponents"
- right-click on the operation "initComponents" and select "Reverse Engineer Operation" from popup menu
- when the Create New Diagram dialog comes up, click on the Cancel button to dismiss it w/o doing anything else
- expand the operation "initComponents" node
Result: an interaction node has been created. Expand the interaction node will show the nodes for a diagram but except
the diagram node. See attached screenshot.
Comment 1 Peter Lam 2007-10-10 18:57:40 UTC
Created attachment 50617 [details]
incomplete re-op action result
Comment 2 Kris Richards 2007-10-10 22:49:09 UTC
this will be fixed as a result of issue 118427
Comment 3 George Vasick 2008-06-10 17:03:53 UTC
Removing obsolete assignments.  Bugs will be reassigned for M2.
Comment 4 Sergey Petrov 2009-01-26 12:44:41 UTC
re operation should be done in a way it was implemented for cdf on operation's node, i.e. no actions before OK in re dialog.