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 - nested link removing doesn't check for name conflict
Summary: nested link removing doesn't check for name conflict
Status: NEW
Alias: None
Product: uml
Classification: Unclassified
Component: General Diagram (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-10 11:02 UTC by Andrew Korostelev
Modified: 2009-05-25 21:06 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-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.