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 245005 - Incorrect error message while refactoring
Summary: Incorrect error message while refactoring
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 8.0
Hardware: All All
: P4 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-11 18:11 UTC by artavazd
Modified: 2016-05-25 01:51 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (42.47 KB, text/plain)
2014-06-11 18:11 UTC, artavazd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description artavazd 2014-06-11 18:11:50 UTC
Product Version = NetBeans IDE 8.0 (Build 201403101706)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_25
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.25-b01

When select Refactor/Rename for changing a function name in PHP the IDE immediately shows error message "The element has the same name as before." in the message field at the bottom of the renaming dialog window.
Comment 1 artavazd 2014-06-11 18:11:54 UTC
Created attachment 147647 [details]
IDE log
Comment 2 Ondrej Brejla 2014-07-14 13:57:39 UTC
Fixed in web-main #e5116ef608c3
Comment 3 Quality Engineering 2014-07-15 02:04:47 UTC
Integrated into 'main-silver', will be available in build *201407150001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/e5116ef608c3
User: Ondrej Brejla <obrejla@netbeans.org>
Log: #245005 - Incorrect error message while refactoring
Comment 4 lolka_bolka 2016-05-24 07:25:44 UTC
Not fixed. I am using PHP 5.6 project with the following setup:

Product Version: NetBeans IDE Dev (Build 201604110001)
Java: 1.8.0_66; Java HotSpot(TM) 64-Bit Server VM 25.66-b18
Runtime: Java(TM) SE Runtime Environment 1.8.0_66-b18
System: Windows 10 version 10.0 running on amd64; Cp1250; hu_HU (nb)

The error message is still here.
Comment 5 Tomas Mysik 2016-05-24 09:35:38 UTC
More accurate fix added, please verify. Thanks.

http://hg.netbeans.org/web-main/rev/3e04114361f9
Comment 6 lolka_bolka 2016-05-24 11:52:53 UTC
(In reply to Tomas Mysik from comment #5)
> More accurate fix added, please verify. Thanks.
> 
> http://hg.netbeans.org/web-main/rev/3e04114361f9

It is so cool guys, that you deal with my issues, but how can I apply these patches?

I am working on windows. Please explain me once, and I will know it in the future.
Comment 7 Tomas Mysik 2016-05-24 12:41:11 UTC
(In reply to lolka_bolka from comment #6)
> It is so cool guys, that you deal with my issues, but how can I apply these
> patches?
> 
> I am working on windows. Please explain me once, and I will know it in the
> future.

Wait for an automatic message that will be added here soon saying in which dev build the fix will be present, then download the dev build. See comment #3 in this issue.

Thanks.
Comment 8 Quality Engineering 2016-05-25 01:51:02 UTC
Integrated into 'main-silver', will be available in build *201605250002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/3e04114361f9
User: Tomas Mysik <tmysik@netbeans.org>
Log: #245005 - Incorrect error message while refactoring

Proper fix.