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 75715 - Trying to create a second message driven bean by same name isn't handled correctly by wizard.
Summary: Trying to create a second message driven bean by same name isn't handled corr...
Status: RESOLVED DUPLICATE of bug 104157
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: martin_adamek
URL:
Keywords:
: 73544 75867 81155 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-28 20:53 UTC by _ pcw
Modified: 2007-07-25 08:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stack trace (30.02 KB, text/plain)
2006-04-28 20:53 UTC, _ pcw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ pcw 2006-04-28 20:53:01 UTC
Create a new ejb module (JavaEE5)
Create new message driven bean in package "test", accept default name "NewMessage".
Create a second message driven bean in package test, same default name offered,
"NewMessage", accept it and hit finish.

The wizard will close, a small message dialog of some sort will quickly flash
and no other information will be reported to user.  There are now, however, 3
exceptions in the NetBeans (see attachment).

Best resolution -- propose a name in the wizard that is valid.
Also, if the name is invalid, either because the proposed name is a duplicate,
or the user changes it to be a duplicate, there should be an inline error
indicating such and the wizard should not allow completion.

2nd best resolution -- at least indicate to the user that creation failed and
why -- this is a poor 2nd though.
Comment 1 _ pcw 2006-04-28 20:53:28 UTC
Created attachment 30140 [details]
stack trace
Comment 2 Martin Adamek 2006-07-27 16:13:28 UTC
*** Issue 75867 has been marked as a duplicate of this issue. ***
Comment 3 Martin Adamek 2006-07-27 16:26:26 UTC
*** Issue 73544 has been marked as a duplicate of this issue. ***
Comment 4 Martin Adamek 2006-07-28 07:50:29 UTC
*** Issue 81155 has been marked as a duplicate of this issue. ***
Comment 5 Martin Adamek 2006-08-29 15:29:21 UTC
Shoul dbe easy-fix
Comment 6 martin_adamek 2007-07-25 08:35:48 UTC
Problem is still there, but behaves differently in 6.0. Needs to be fixed anyway, so I am marking this as duplicate.

*** This issue has been marked as a duplicate of 104157 ***