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 4875 - "New from Template" name checking is not sufficient
Summary: "New from Template" name checking is not sufficient
Status: CLOSED INVALID
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-12-06 21:32 UTC by Svata Dedic
Modified: 2008-12-23 11:50 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 Svata Dedic 1999-12-06 21:32:48 UTC
(JDK 1.2.2, 1.3P)

There are problems with `Create from template - Target location` dialog:

The name is not checked to be a valid identifier - names like `2ndClass` are accepted. Checking for invalid characters does not function in the following case:

1. Create anything from template (using main menu or context menu)
2. From Explorer`s context menu, select New From Template -> <anything>
3. Type some invalid characters into the Name edit box -- the Finish button is enabled and will create invalid source file.

The problem does not appear, if you use main menu (File -> New from Template).
Comment 1 Marek Grummich 2000-07-25 09:23:59 UTC
Priority is changed to P4 (normal).
Comment 2 Quality Engineering 2003-07-02 14:58:06 UTC
Resolved for 3.4.x or earlier, no new info since then -> verify.
Comment 3 Quality Engineering 2003-07-02 15:15:19 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.