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 236271 - Refactoring does not work if FileObject URI scheme is not "file"
Summary: Refactoring does not work if FileObject URI scheme is not "file"
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.4
Hardware: All All
: P2 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords: 7.4_HR_FIX
: 233590 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-09-23 13:35 UTC by Vladimir Kvashin
Modified: 2013-09-26 18:41 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
A test project (in fact, any C/C++ project suites) (5.53 KB, application/zip)
2013-09-23 13:35 UTC, Vladimir Kvashin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Kvashin 2013-09-23 13:35:34 UTC
Created attachment 140380 [details]
A test project (in fact, any C/C++ project suites)

Refactoring does not work if FileObject URI scheme is not "file"
(The description is copied from issue 233590)

Steps to reproduce are as follows

- You need a Linux or Mac host to use as a remote host. If your laptop/desktop is Linux or Mac you can easily fool Netbeans and make it use as remote one.

- Unpack the attached test project somewhere in your home directory on that host.

- Launch IDE, activate C/C++

- Select "Services" pane, click "Add New Host" on "C/C++ Build Hosts"

- If you are on Linux or Mac, you can enter just "localhost" as host name, it will go to your local host as if it was remote (via ssh); if you are on Windows you need to specify a remote Linux or Mac host. This host should already have test project unpacked.

- After wizard finishes, select the newly added host, invoke "Open Project...", select test project and open it

- In Projects tab, find and open "args.c" in this project

- See that undo/redo works OK. Try renaming "main" function. Exception occurs. Undo does not work after that.
Comment 1 Ralph Ruijs 2013-09-24 13:14:03 UTC
changeset   : 798c427194f5
author      : Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
date        : Tue Sep 24 15:11:12 CEST 2013
summary     : #236271 - Refactoring does not work if FileObject URI scheme is not "file"
Comment 2 Ralph Ruijs 2013-09-25 08:25:22 UTC
*** Bug 233590 has been marked as a duplicate of this bug. ***
Comment 3 Jiri Prox 2013-09-25 12:57:44 UTC
verified in trunk


Product Version: NetBeans IDE Dev (Build Build Jet-Main-12-on-20130925)
Java: 1.7.0_40; Java HotSpot(TM) Client VM 24.0-b55
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b39
System: Linux version 3.2.0-29-generic-pae running on i386; UTF-8; en_US (nb)
User directory: /home/tester/.netbeans/dev
Cache directory: /home/tester/.cache/netbeans/dev
Comment 4 Marian Mirilovic 2013-09-25 13:36:19 UTC
Please integrate into release74 TODAY, thanks in advance.
Comment 5 Quality Engineering 2013-09-26 00:00:14 UTC
Integrated into 'releases/release74', will be available in build *201309252201* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/974634a7bf74
User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Log: #236271 - Refactoring does not work if FileObject URI scheme is not "file"
Comment 6 Jiri Prox 2013-09-26 18:41:47 UTC
verified in 7.4 rc2