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 210113 - [72cat] Rename package does not work properly for Package as List view
Summary: [72cat] Rename package does not work properly for Package as List view
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-26 14:01 UTC by Michel Graciano
Modified: 2012-03-28 20:26 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Sample project (23.77 KB, application/zip)
2012-03-26 14:03 UTC, Michel Graciano
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michel Graciano 2012-03-26 14:01:04 UTC
[ BUILD # : 34d2eb3db637 ]
[ JDK VERSION : 1.7.3 ]

I will attach a sample project but basically what happens is that the package
entered at the tree editor is not repassed to refactoring UI.
Comment 1 Michel Graciano 2012-03-26 14:03:04 UTC
Created attachment 117255 [details]
Sample project

1. Open the sample project and change the package view to List;
2. Try to rename the package br.com.refactoring.issue to br.com.refactoring.issue.packt using the F2 shortcut and hit enter;

The refactoring UI will open but with the original package instead the new one.
Comment 2 MackSix 2012-03-28 14:39:35 UTC
(In reply to comment #1)
> Created attachment 117255 [details]
> Sample project
> 
> 1. Open the sample project and change the package view to List;
> 2. Try to rename the package br.com.refactoring.issue to
> br.com.refactoring.issue.packt using the F2 shortcut and hit enter;
> 
> The refactoring UI will open but with the original package instead the new one.

Yes, this is what I see too.

Product Version: NetBeans IDE Dev (Build 201203280401)
Java: 1.7.0_03; Java HotSpot(TM) Client VM 22.1-b02
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Comment 3 Ralph Ruijs 2012-03-28 14:57:06 UTC
Changeset: f2e978204003
Author:    Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Date:      2012-03-28 16:56
Message:   
Issue #210113 - [72cat] Rename package does not work properly for Package as List view
Comment 4 Michel Graciano 2012-03-28 16:18:13 UTC
(In reply to comment #3)
> Changeset: f2e978204003
> Author:    Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
> Date:      2012-03-28 16:56
> Message:   
> Issue #210113 - [72cat] Rename package does not work properly for Package as
> List view

Which repository have you pushed this changeset?
Comment 5 Ralph Ruijs 2012-03-28 20:26:17 UTC
(In reply to comment #4)
> Which repository have you pushed this changeset?

http://hg.netbeans.org/jet-main/rev/f2e978204003