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 227740 - Renaming Javascript variable destroyied first line of JSP file
Summary: Renaming Javascript variable destroyied first line of JSP file
Status: RESOLVED DUPLICATE of bug 226828
Alias: None
Product: javascript
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.4
Hardware: PC All
: P1 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-20 19:32 UTC by ecerichter
Modified: 2013-03-25 13:54 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (421.58 KB, text/plain)
2013-03-20 19:32 UTC, ecerichter
Details
Screenshot of the page after renaming... (35.01 KB, image/png)
2013-03-20 19:35 UTC, ecerichter
Details
page that went corrupted after renaming. (1.33 KB, text/x-jsp)
2013-03-20 19:36 UTC, ecerichter
Details
Video showing bug in action (1.02 MB, video/avi)
2013-03-20 19:42 UTC, ecerichter
Details
Process in task manager. (8.94 KB, image/png)
2013-03-24 02:26 UTC, ecerichter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ecerichter 2013-03-20 19:32:24 UTC
Product Version = NetBeans IDE Dev (Build 201303192300)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_17
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.7-b01

After using Ctrl+R to rename a variable in a JavaScript block, first line of JSP page got filled with name of the variable.

See attached screenshot for reference.
Comment 1 ecerichter 2013-03-20 19:32:44 UTC
Created attachment 132866 [details]
IDE log
Comment 2 ecerichter 2013-03-20 19:35:46 UTC
Created attachment 132867 [details]
Screenshot of the page after renaming...
Comment 3 ecerichter 2013-03-20 19:36:33 UTC
Created attachment 132868 [details]
page that went corrupted after renaming.
Comment 4 ecerichter 2013-03-20 19:42:03 UTC
Created attachment 132869 [details]
Video showing bug in action
Comment 5 ecerichter 2013-03-24 02:26:35 UTC
Created attachment 132987 [details]
Process in task manager.
Comment 6 Vladimir Riha 2013-03-24 18:50:57 UTC
reproducible
Comment 7 Vladimir Riha 2013-03-24 18:51:57 UTC
*

Product Version: NetBeans IDE Dev (Build 201303232300)
Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b03
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b09
System: Linux version 3.5.0-26-generic running on i386; UTF-8; en_US (nb)
Comment 8 Petr Pisl 2013-03-25 13:54:42 UTC
Fixed in webmain. It's basically side effect of isseu #226828 -> marking as duplicate.

*** This bug has been marked as a duplicate of bug 226828 ***