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 195075

Summary: "Replace in Projects" not actually replacing anything
Product: utilities Reporter: Veraxus
Component: SearchAssignee: Yulia Novozhilova <ynov>
Status: RESOLVED FIXED    
Severity: normal CC: jrechtacek, mmirilovic, pjiricka, soldatov
Priority: P1 Keywords: REGRESSION
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Veraxus 2011-02-04 20:24:41 UTC
Product Version = NetBeans IDE Dev (Build 2011-02-04_21-04-32 )
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) Client VM 16.3-b01

The 'replace in projects' feature (Ctrl+Shift+H from the Projects pane) will correctly identify code to be replaced, but when you execute the replace command, nothing is actually replaced. The code is exactly the same as before, as if nothing happened.
Comment 1 Marian Mirilovic 2011-02-07 12:42:43 UTC
Product Version: NetBeans IDE 7.0 Beta 2 (Build 201102052128)
Java: 1.6.0_23; Java HotSpot(TM) 64-Bit Server VM 19.0-b09
System: Linux version 2.6.35-25-generic running on amd64; UTF-8; en_US (nb)
Comment 2 Jiri Rechtacek 2011-02-07 13:11:52 UTC
I can confirm on my configuration (build#201102052128) too.
Comment 3 Yulia Novozhilova 2011-02-07 15:18:52 UTC
Fixed for trunk: http://hg.netbeans.org/core-main/rev/1565be33c8c0
Needs to be fixed for Beta 2 as well.
Comment 4 Quality Engineering 2011-02-08 06:15:52 UTC
Integrated into 'main-golden', will be available in build *201102080000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/1565be33c8c0
User: Yulia Novozhilova <ynov@netbeans.org>
Log: Fix #195075 Replace in Projects not actually replacing anything
Comment 5 Jiri Rechtacek 2011-02-08 10:18:19 UTC
The fix works for me, not reproducible in latest daily build:
  Product Version         = NetBeans IDE Dev (Build 201102080000) (#84516b8e508e)
  Operating System        = Linux version 2.6.35-24-generic running on amd64
  Java; VM; Vendor        = 1.6.0_23; Java HotSpot(TM) 64-Bit Server VM 19.0-b09; Sun Microsystems Inc.
  Runtime                 = Java(TM) SE Runtime Environment 1.6.0_23-b05
  Java Home               = /usr/local/share/java/jdk1.6.0_23/jre
  System Locale; Encoding = en_US (nb); UTF-8
Comment 6 Petr Jiricka 2011-02-08 10:45:22 UTC
I agree with the fix to beta 2.
Comment 7 Marian Mirilovic 2011-02-08 11:41:46 UTC
verified in trunk build, agree with integration into Beta branch
Comment 8 Yulia Novozhilova 2011-02-08 16:28:25 UTC
Integrated: http://hg.netbeans.org/releases/rev/226358950ca3

Thanks everyone for assistance.