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 100441

Summary: nested link removing doesn't check for name conflict
Product: uml Reporter: Andrew Korostelev <akorostelev>
Component: General DiagramAssignee: issues@uml <issues>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Andrew Korostelev 2007-04-10 11:02:34 UTC
If user two classes with the same name in different packages (pkg.C1 and C1),
and removes nested link between pkg and C1 on diagram, both C1 classes will be
in the same root package. 
It is impossible to make this by e.g. drag-n-drop in model tree because of name
conflict.

steps:
- create class diagram.
- put package o0n diagram and name it 'pkg'
- put two class elements on diagram
- add nested link from one of them to pkg.
- name both classes 'C1'
- select nested link on diagram and delete it. Select checkbox to delete from
project.

BUG: now you have two class elements 'C1' in the same namespace.
Comment 1 George Vasick 2007-06-28 22:50:39 UTC
Targeted in drawing area redesign.
Comment 2 George Vasick 2007-07-04 00:55:56 UTC
Restoring original priority and using the standard NB waiver process.
Comment 3 George Vasick 2008-01-02 17:46:18 UTC
Diagram area bugs waived for 6.0 will also be waived for 6.1.
Comment 4 Peter Lam 2008-06-19 21:34:48 UTC
this problem cannot be verified yet due to another problem that is still there. Need to reverify.