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 11681 - IAE : rename component to existing name
Summary: IAE : rename component to existing name
Status: CLOSED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: Josef Kozak
URL:
Keywords:
: 12217 17570 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-04-23 17:49 UTC by Marian Mirilovic
Modified: 2003-06-30 18:27 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 Marian Mirilovic 2001-04-23 17:49:19 UTC
[nb_dev](171), [jdk1.3.1]

Try to rename component and set name as existing name of component invoke
Exception. 
IllegalArgumentException write only to console ( or log-file ), but you see
dielog with button Show Details, and this mean that you can see StackTrace.
In my opinion Exception should be catch inside without announce stack trace ,
nice will be if user see only dialog with Attantion message for example
"You want set name of existing component. Two components in the same form cannot
have the same name. "
Comment 1 Josef Kozak 2001-04-23 22:15:24 UTC
New feature of NbErrorManager & NotifyException & RenameAction used. Now 
exception is annotated with USER severity.
Comment 2 Josef Kozak 2001-04-23 22:16:01 UTC
::: fixed in dev only
Comment 3 Josef Kozak 2001-04-24 21:16:30 UTC
modified files (new revision):
  RADComponent.java (1.105)
Comment 4 Marian Mirilovic 2001-04-25 09:27:17 UTC
verified in [nb_r32](37)
Comment 5 Marian Mirilovic 2001-04-25 16:36:40 UTC
sorry for my mistake (previous comments)
verified in [nb_dev](173)
bug or "issue" still open in NB r3.2
Comment 6 Jan Chalupa 2001-05-05 22:21:02 UTC
Target milestone -> 3.3
Removing the OPEN_IN_3.2 keyword.
Comment 7 Marian Mirilovic 2001-05-16 08:48:31 UTC
*** Issue 12217 has been marked as a duplicate of this issue. ***
Comment 8 Marian Mirilovic 2001-11-13 09:41:10 UTC
*** Issue 17570 has been marked as a duplicate of this issue. ***
Comment 9 Quality Engineering 2003-06-30 18:27:37 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.