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 174943 - New JSF File dialog won't allow you to create new Facelets file
Summary: New JSF File dialog won't allow you to create new Facelets file
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: Facelets 1.1.x (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: Alexey Butenko
URL:
Keywords:
: 175381 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-19 23:36 UTC by ievans
Modified: 2013-02-13 10:28 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of the error dialog (53.58 KB, image/png)
2009-10-19 23:36 UTC, ievans
Details
Log file (250.85 KB, text/plain)
2009-10-19 23:39 UTC, ievans
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ievans 2009-10-19 23:36:05 UTC
Steps to reproduce:
1. Create new Java EE 6 Web project that uses JavaServer Faces framework.
2. Select File -> New File, JavaServer Faces category, then JSF Page, and click Next.
3. Note the error at the bottom of the dialog saying, "The Folder Name is not valid."

The new file should be created in the web root of the web project, but 6.8 can't create new files there as long as this
error is incorrectly displaying.

The vitals:
Product Version: NetBeans IDE Dev (Build 200910150201)
Java: 1.6.0_16; Java HotSpot(TM) Client VM 14.2-b01
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Userdir: C:\Documents and Settings\ian\.netbeans\dev

This bug is a blocking bug for the First Cup tutorial, included in the Java EE 6 SDK.
Comment 1 ievans 2009-10-19 23:36:41 UTC
Created attachment 89718 [details]
Screenshot of the error dialog
Comment 2 ievans 2009-10-19 23:39:40 UTC
Created attachment 89719 [details]
Log file
Comment 3 David Konecny 2009-10-20 00:03:35 UTC
Alexey, could you try to reproduce on Windows please?

It runs fine on my Linux. Looking at the code this message should be displayed only when one of the following illegal
characters is typed in "Folder:" field - "`~!@#$%^&*()=+|{};:'",<>?". Somehow I think we would get this error reported
earlier unless of course there is a fresh regression. Ian, could you try to type something in "Folder:" field (legal and
illegal characters) and removing all of them again just to see if error message box disappears under some conditions?
Thanks.
Comment 4 ievans 2009-10-20 00:32:54 UTC
I've tried:
* entering legal characters in the Folder input
* entering illegal characters in the Folder input
* clicking Browse to select a sub-folder

All do not eliminate the error.
Comment 5 Alexey Butenko 2009-10-20 13:44:43 UTC
http://hg.netbeans.org/web-main/rev/3b2d35ab2c8c
Comment 6 Quality Engineering 2009-10-22 23:55:39 UTC
Integrated into 'main-golden', will be available in build *200910221401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/3b2d35ab2c8c
User: Alexey Butenko <alexeybutenko@netbeans.org>
Log: #174943: New JSF File dialog won't allow you to create new Facelets file
Comment 7 Alexey Butenko 2009-10-26 14:17:11 UTC
*** Issue 175381 has been marked as a duplicate of this issue. ***
Comment 8 eino 2012-06-20 11:05:16 UTC
I just add my note to help some other person
In Netbeans 7.1.2  if you project is located in network path
It gives this folder name is invalid even when it's not.

My Home directory is syncronized in Windows between network share and computer
and Netbeans is angry because this share is hidden "username$"  ($ means that share is hidden in windows) 

\\serverone\username$\NetBeansProjects\UnSecureApplication\web\oktransfer.xhtml