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 246641 - [801cat] Rename throws away method parameters
Summary: [801cat] Rename throws away method parameters
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 8.0.1
Hardware: PC All
: P2 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
: 250161 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-08-22 13:38 UTC by muellermi
Modified: 2015-04-22 02:04 UTC (History)
2 users (show)

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 muellermi 2014-08-22 13:38:24 UTC
Product Version = NetBeans IDE 8.0.1 (Build 201408142300)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0_11
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.11-b03

given a JSF page, with an EL calling a method which contains parameters, eg.

<f:ajax listener="#{myBean.myMethodl(myBean.MyProperty)}"/>

- open bean in Java editor, select the method and try a rename

--> within Java code, the method is reanmed correctly. Within JSF it is renamed, but the parameter is gone.

doing such, the renames breaks the app
Comment 1 Petr Hejl 2015-03-19 08:12:30 UTC
*** Bug 250161 has been marked as a duplicate of this bug. ***
Comment 2 Petr Hejl 2015-04-21 08:49:12 UTC
Reproducible.
Comment 3 Petr Hejl 2015-04-21 10:02:48 UTC
Fixed in web-main cd2f82e29882.
Comment 4 Quality Engineering 2015-04-22 02:04:02 UTC
Integrated into 'main-silver', will be available in build *201504220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/cd2f82e29882
User: Petr Hejl <phejl@netbeans.org>
Log: #246641 - [801cat] Rename throws away method parameters