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 137774

Summary: iconic interface state is not preserved when copied/pasted to the same diagram
Product: uml Reporter: Peter Lam <petersl>
Component: Diagram ClassAssignee: _ jyothivasa <jyothivasa>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 83789    

Description Peter Lam 2008-06-19 21:27:12 UTC
build 20080619

In 6.1, if the interface element is displayed as icon, copy/paste it to the same diagram is also displayed in iconic state. 
In 6.5, doing the same copy/paste on the same diagram is displayed in non-iconic state. The state should be preserved on
the same diagram.
Comment 1 _ jyothivasa 2008-09-04 19:15:50 UTC
Fixed
http://hg.netbeans.org/uml-main/rev/58436d0086b7
Comment 2 Trey Spiva 2008-09-05 18:05:32 UTC
Reviewed
Comment 3 Quality Engineering 2008-09-06 05:27:52 UTC
Integrated into 'main-golden', will be available in build *200809060201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/58436d0086b7
User: jyothivasa@netbeans.org
Log: Fix for #137774 Iconic state is now preserved while copy/pasting
Comment 4 Peter Lam 2008-09-09 00:12:07 UTC
verified in build 20080908. Pasting the same copied iconic interface to a different class diagram throws NPE - tracked
in issue 146593.