Bug 39757 - Some compare operations fail on resources that do not exist
Summary: Some compare operations fail on resources that do not exist
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Compare (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 M3   Edit
Assignee: Andre Weinand CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 39148
  Show dependency tree
 
Reported: 2003-07-08 11:00 EDT by Michael Valenta CLA
Modified: 2003-08-25 17:57 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Valenta CLA 2003-07-08 11:00:37 EDT
The Live Synchronize view can contain resources that do not exist locally. 
This has surfaced some problems in objectContributions that assume that all 
resources in a selection exist. To reproduce the test setup, load a project 
from CVS and delete a folder containing files. The outgoing deletions should 
appear in the Live Sync View (the folder will appear without the outgoing 
deletion icon).

Here is the list of compare operations and the test results. Either these 
operations should work or the menu operation should be disabled for non-
exitant resources.

- Replace With>Local History brings up the selection dialog which appears to 
work. However, chossing Replace fails with the error "resource does not 
exist". 

- Replace with>Previous from Local History also fails with "resource does not 
exist.

- Restore from Local History works when performed on a deleted folder 
containing outgoing deleted files works

- Compare with>Each other fails when on of the resources doesn't exist (the 
resulting editor contains an Internal Error message.

- Team>Apply Patch is disabled for non-existant resources so it is OK.
Comment 1 Andre Weinand CLA 2003-08-25 17:57:09 EDT
Fix released for N20030826