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 72214 - Entity Class wizard doesn't check uniqueness of class name
Summary: Entity Class wizard doesn't check uniqueness of class name
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Martin Adamek
URL:
Keywords:
: 72887 (view as bug list)
Depends on:
Blocks: 75143
  Show dependency tree
 
Reported: 2006-02-03 13:26 UTC by Erno Mononen
Modified: 2006-06-15 09:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stacktrace (19.09 KB, text/plain)
2006-02-03 13:28 UTC, Erno Mononen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erno Mononen 2006-02-03 13:26:48 UTC
New Entity Class wizard doesn't check whether there is already a class with same 
fully qualified name. 

Steps:
1. create new ejb module project
2. create new entity class 'NewEntity' in package 'a' using wizard
3. repeat step 2 => an exception is thrown
Comment 1 Erno Mononen 2006-02-03 13:28:05 UTC
Created attachment 28735 [details]
stacktrace
Comment 2 Pavel Buzek 2006-02-04 04:28:22 UTC
simple fix
Comment 3 Erno Mononen 2006-02-21 15:37:42 UTC
*** Issue 72887 has been marked as a duplicate of this issue. ***
Comment 4 Erno Mononen 2006-02-21 15:40:24 UTC
Probably not a P2, changing to P3.
Comment 5 Jan Horvath 2006-03-29 09:23:24 UTC
changing back to P2. This is highly visible bug.
Comment 6 Martin Adamek 2006-04-18 13:17:57 UTC
Fixed.
/cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/wizard/entity/Attic/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.1.2.5.2.3; previous revision: 1.1.2.5.2.2
/cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/ui/resources/Attic/layer.xml,v
 <--  layer.xml
new revision: 1.1.2.9.2.9; previous revision: 1.1.2.9.2.8
Comment 7 Jindrich Sedek 2006-06-15 09:10:18 UTC
Verified NetBeans5.5Dev 200606150200