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 148569 - [65cat] JavaScript Rename Dialog showing not valid Ruby name
Summary: [65cat] JavaScript Rename Dialog showing not valid Ruby name
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P4 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-28 04:06 UTC by sunbiz
Modified: 2009-02-27 14:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The screenshot of the rename method dialog for JavaScript (30.37 KB, text/plain)
2008-09-28 04:07 UTC, sunbiz
Details
The screenshot of the rename method dialog for JavaScript (30.37 KB, image/jpeg)
2008-09-28 04:07 UTC, sunbiz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sunbiz 2008-09-28 04:06:04 UTC
[ BUILD # : 200809271401 ]
[ JDK VERSION : other ]

When Renaming JavaScript method, if an incorrect name is given like 
null or blank, the dialog mentions that its not a valid Ruby method 
name. Since there is no Ruby involved here, only JavaScript, the 
dialog should not mention Ruby.

Check screenshot for example
Comment 1 sunbiz 2008-09-28 04:07:21 UTC
Created attachment 70745 [details]
The screenshot of the rename method dialog for JavaScript
Comment 2 sunbiz 2008-09-28 04:07:23 UTC
Created attachment 70746 [details]
The screenshot of the rename method dialog for JavaScript
Comment 3 Torbjorn Norbye 2008-09-29 19:29:52 UTC
Fixed in changeset 048afaa66789 (not yet pushed). 

The JavaScript refactoring code was based on the Ruby one which is why there were some references to Ruby that hadn't
been properly updated. While in there I also corrected some references from "method" to "function" as well.