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 250161 - Loosing parameter on rename
Summary: Loosing parameter on rename
Status: RESOLVED DUPLICATE of bug 246641
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-02 13:25 UTC by muellermi
Modified: 2015-03-19 08:12 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 muellermi 2015-02-02 13:25:33 UTC
Product Version = NetBeans IDE 8.0.2 (Build 201411181905)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0_20
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.20-b23

Given a JSF page:

<h:commandLink action="#{myProposalList.printMyProposal(my.id)}" immediate="true" >

Now, both the bean and method should be renamed. The parameter got lost:

<h:commandLink action="#{myRequestList.printMyRequest()}" immediate="true" >

expected result
<h:commandLink action="#{myRequestList.printMyRequest(my.id)}" immediate="true" >

On this page, I had a lot of similar actions. For some, the paramater got lost after the bean rename, for others after the method rename. It seems to be unpredictable.
Need some tests.
Comment 1 muellermi 2015-02-02 14:05:37 UTC
It seems, the paramater gets lost on renaming the methods.
Comment 2 Petr Hejl 2015-03-19 08:12:30 UTC

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