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 110822

Summary: Missing Duplicate element dialog when DnD operation to another interface
Product: uml Reporter: Joanne Lau <j_lau>
Component: GeneralAssignee: issues@uml <issues>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: dialog attached

Description Joanne Lau 2007-07-24 19:04:47 UTC
NB: 200707231200

Popup dialog does not appear when drop an operation from interface A to interface B, and there is already
an existing operation with the same name in interface B.

Steps:
 - Setup:
    1) Create a UML project
    2) Create a class diagram
    3) From the project tree, Right click Model -> New -> Package
    4) Create 2 interfaces int1, int2
    5) Within the interface int1,  create an operation named op1 
    6) Within the interface int2,  create an operation named op1

1) DnD operation op1 from int1 to int2
2) Since the operation name is similar to the one in int2,  there should be a popup
   dialog "Duplicate Element Found" to notify the user.

   Dialog currently appears when performing DnD in the diagram editor
   (See attached dialog)
Comment 1 Joanne Lau 2007-07-24 19:06:32 UTC
Created attachment 45612 [details]
dialog attached
Comment 2 Peter Lam 2008-06-21 00:45:16 UTC
DnD operation to another class/interface has not yet been implemented in 6.5.
Comment 3 Sergey Petrov 2009-01-26 11:39:24 UTC
reproducible for project tree drag&drop