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 56815 - Diff between files from Favorites view is diff between shadows
Summary: Diff between files from Favorites view is diff between shadows
Status: CLOSED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Diff (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: SIMPLEFIX
Depends on:
Blocks:
 
Reported: 2005-03-22 19:45 UTC by Marian Mirilovic
Modified: 2006-03-24 12:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2005-03-22 19:45:01 UTC
NB4.1(200503221900), JDK1.5.0_02

Steps to reproduce:
- run IDE
- add File1 to Favorites
- add File2 to Favorites
- push Diff of these files from Favorites view
-> The diff contains diff between shadows, it means it's diff between paths !
Comment 1 Martin Entlicher 2005-03-22 20:03:34 UTC
:-))
Well, we need to add a special check for DataShadow...
Thanks for catching this.
Comment 2 Martin Entlicher 2005-03-23 18:14:40 UTC
Fixed for Diff and Apply Patch actions:

/cvs/diff/src/org/netbeans/modules/diff/DiffAction.java,v  <--  DiffAction.java
new revision: 1.25; previous revision: 1.24

/cvs/diff/src/org/netbeans/modules/diff/PatchAction.java,v  <--  PatchAction.java
new revision: 1.23; previous revision: 1.22
Comment 3 Marian Mirilovic 2005-03-25 13:41:47 UTC
verified in NB4.1(200503242007)