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 43011

Summary: Can create a new file with the same name but different case on Windows
Product: java Reporter: Martin Brehovsky <breh>
Component: UnsupportedAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 41535    

Description Martin Brehovsky 2004-05-10 15:19:10 UTC
When creating a new file on Windows which has the
same name like some existing one, but some letters
are in a different case, then after clicking
finish the dialog does nothing (no warning, simply
nothing).

It should at leaste behave consistently as when
creating a new file with the same name (including
case) as an existing one.
Comment 1 Martin Brehovsky 2004-05-10 15:27:40 UTC
I just discovered in J2SE project it behaves consistently. Even when
you have a new file with exactly the same name as an existing one, the
wizard allows to click finish and then does nothing. 

This should be IMHO fixed, so wizard does not allow to click on Finish
when the name is the same, or it can allow to overwrite the existing
resource with Yes/No warning question.
Comment 2 Jesse Glick 2004-05-10 16:45:51 UTC
Need to be careful with Mac OS X which AFAIK has the same FS semantics
as Windows as far as case sensitivity goes.
Comment 3 Jesse Glick 2004-05-10 16:47:09 UTC
Is this *really* P2? Clearly you don't *want* to create a new file
with the same name but different case, so it is just a matter of the
IDE not warning you that you are doing something stupid. Marking P3
therefore.
Comment 4 Jiri Rechtacek 2004-05-19 13:16:10 UTC
Should implement same functionality as TemplateWizard does.
Comment 5 Jiri Rechtacek 2004-05-24 17:11:48 UTC
Partially fixed but only for generic types, not for java sources.
Reassigned to java to the rest of fix.
Comment 6 Jiri Rechtacek 2004-05-25 09:55:44 UTC
fixed also for java sources (see log in issue 42651).
Comment 7 Quality Engineering 2007-09-20 10:11:42 UTC
Reorganization of java component