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 - Can create a new file with the same name but different case on Windows
Summary: Can create a new file with the same name but different case on Windows
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks: 41535
  Show dependency tree
 
Reported: 2004-05-10 15:19 UTC by Martin Brehovsky
Modified: 2007-09-26 09:14 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 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