Bug 12442 - Rename of folder in file system not handled right
Summary: Rename of folder in file system not handled right
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 M5   Edit
Assignee: Kevin McGuire CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-28 11:04 EST by Michael Valenta CLA
Modified: 2002-04-09 15:19 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 2002-03-28 11:04:29 EST
If a folder is renamed in the file system and then a refresh local is performed 
in Eclipse, the outgoing deletions do not appear. This is because the 
move/delete hook cannot do its magic. i.e. it cannot prevent the folder 
deletions and let only the file deletions through.
Comment 1 Kevin McGuire CLA 2002-03-28 11:54:19 EST
Are you getting the deletion notification via move/rename/delete though?
Comment 2 Michael Valenta CLA 2002-03-28 12:04:01 EST
We get notification in the deltas but not in the MoveDeleteHook. The problem is 
that it is the MoveDeleteHook that sets the deleted folders up to be outgoing 
deletions. Since a deletion in the file system cannot be handled this way, it 
is probably best to say that if a user deletes a folder from the file system, 
they will see the change as an incomming addition in the sync view (as we had 
before). The only action I would take here is to create a test case that 
ensures that this scenarion works as we expect.
Comment 3 Michael Valenta CLA 2002-04-01 15:35:16 EST
Fixed
Comment 4 James Moody CLA 2002-04-09 15:19:19 EDT
Works as described.