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.
Steps to reproduce: - open source file under SVN version control - Team > Show Annotations - right click revision in annotation - select "Diff to previous Revision" - graphical view off diff is empty (when it should not) - textual view of diff just shows empty diff (when it should not): # This patch file was generated by NetBeans IDE # It uses platform neutral UTF-8 encoding and \n newlines. --- 12113 +++ 12114 Showing the diff using "Search History ..." works fine: # This patch file was generated by NetBeans IDE # It uses platform neutral UTF-8 encoding and \n newlines. --- 12113 +++ 12114 @@ -1,5 +1,6 @@ package nionexa; +import com.nionex.ops.bean.BeanUtil; import com.nionex.ops.bean.request.DocumentRequestBean; import com.nionex.ops.callback.PageCallback; import com.nionex.ops.callback.PreparablePageCallbackHandler; @@ -1073,6 +1074,9 @@ } try { + // immer aufrufen, um Besuchsplanung zu initialisieren + BeanUtil.getBean(FragmentAktivitaeten.class).initPlaner(planer); + //Zieladresse Langtext aus Kresetabelle ermitteln String zieladresseOrt = KreiseService.getKreiseOrt(HibernateUtil.getCurrentSession(), planer.getVmPkreis(), planer.getVmPland()); input_ZieladresseOrt.setValue(zieladresseOrt); Product Version = NetBeans IDE 7.0 RC1 (Build 201103280000) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.6.0_21 Runtime = Java HotSpot(TM) Client VM 17.0-b16
Does it work for other files? Was the file refactored/renmed in the past?
it does not work for files, which have been renamed/moved in the past.
fix: http://hg.netbeans.org/core-main/rev/e0c27cace16e
Integrated into 'main-golden', will be available in build *201104050400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/e0c27cace16e User: Ondrej Vrabec <ovrabec@netbeans.org> Log: Issue #197313 - "Diff to previous Revision" from annotations not working