Bug 155994 - [Import/Export] Resources being deleted during project import
Summary: [Import/Export] Resources being deleted during project import
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1.1   Edit
Hardware: PC Windows XP
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2006-09-01 12:14 EDT by James Leone CLA
Modified: 2009-08-30 02:11 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Leone CLA 2006-09-01 12:14:15 EDT
We have recently upgraded from 3.1.0 to 3.1.1  We have always been using ClearCase and the ClearCase plugin to manage our source code.  Since the upgrade, we have noticed items have been mysteriously deleted from our repository (this is done executing the rmname command in ClearCase).  We added a trigger to our ClearCase that would prompt users with a GUI whenever the deletes where about to happen.  After doing so, we noticed people would intermittently get this prompt while importing projects into their workspace.  

After examining the code of the ClearCase plugin, this command is only invoked in it's implemention org.eclipse.core.resources.team.IMoveDeleteHook.  

Is there a reason deleteFile methods would be called at all during the project import process?
Comment 1 John Arthorne CLA 2006-09-01 15:10:03 EDT
I'm sure there are cases where this is legitimate, for example when overwriting existing files in the same location (after prompting).  Moving to UI where the import code is located.
Comment 2 James Leone CLA 2006-09-01 17:09:41 EDT
I'm a bit unclear with what you are saying, but I did see you say "after prompting".  In the problem situations, the users where not prompted to overwrite or delete anything.
Comment 3 Boris Bokowski CLA 2006-09-03 09:09:12 EDT
Would it be possible for you to run with the -consoleLog command line argument, and when you get the Clearcase prompt, trigger a thread dump in the console window using Ctrl-Break?  If you can attach the thread dump to this bug we would be able to see where the IMoveDeleteHook call is coming from.  (You might have to increase the line buffer for the console window before hitting Ctrl-Break.)
Comment 4 Boris Bokowski CLA 2006-09-06 10:22:49 EDT
We need your cooperation to make progress on this bug. Marking as remind for now; please reopen when you have more information for us. Thanks.
Comment 5 Denis Roy CLA 2009-08-30 02:11:12 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.