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 212012 - transform action doesn't apply to package but opened file only
Summary: transform action doesn't apply to package but opened file only
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Jan Becicka
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2012-05-03 12:12 UTC by Milos Kleint
Modified: 2012-05-05 10:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (330.84 KB, image/png)
2012-05-03 12:12 UTC, Milos Kleint
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milos Kleint 2012-05-03 12:12:14 UTC
Created attachment 119025 [details]
screenshot

see screenshot.

invoking Transform action on the package in projects view, the dialog shown has package as combobox value, however when previewed, I only get results from the currently shown file in editor. If there is no file opened, I get just a messsage that no patterns were found.





Product Version         = NetBeans IDE Dev (Build 201204250400) (#a167d4573612)
  Operating System        = Windows 7 version 6.1 running on amd64
  Java; VM; Vendor        = 1.6.0_30; Java HotSpot(TM) 64-Bit Server VM 20.5-b03; Sun Microsystems Inc.
  Runtime                 = Java(TM) SE Runtime Environment 1.6.0_30-b12
Comment 1 Jan Lahoda 2012-05-04 10:37:46 UTC
Turns out that this is a bug in the legacy hints->new hints bridge, fixed by:
http://hg.netbeans.org/jet-main/rev/2a50fceb8abc

Sorry for trouble.
Comment 2 Quality Engineering 2012-05-05 10:22:17 UTC
Integrated into 'main-golden', will be available in build *201205050400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/2a50fceb8abc
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #212012: the legacy hint->new hint bridge needs to convert the ErrorDescription even in case the document was not opened, so that the legacy hints can be run in I&T (with their other restrictions anyway).