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

Summary: [65cat] JavaScript Rename Dialog showing not valid Ruby name
Product: javascript Reporter: sunbiz <sunbiz>
Component: EditorAssignee: Torbjorn Norbye <tor>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: PC   
OS: Windows Vista   
Issue Type: DEFECT Exception Reporter:
Attachments: The screenshot of the rename method dialog for JavaScript
The screenshot of the rename method dialog for JavaScript

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.