Summary: | Sync info on source of project move lost | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Michael Valenta <Michael.Valenta> |
Component: | Resources | Assignee: | DJ Houghton <dj.houghton> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | eclipse, Kevin_McGuire |
Version: | 2.0 | ||
Target Milestone: | 2.0.1 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: | |||
Bug Depends on: | |||
Bug Blocks: | 17548 |
Description
Michael Valenta
2002-05-27 12:44:31 EDT
Ensure that the sync info for the source of a move is left behind and a phantom is created. Check to see if this is also the case when a project is the source. Investigate for 2.0. Note that the spec vaguely says that when you delete a non-project resource then the sync info is retained. Does/should that imply that project sync info is not retained when the project is deleted? Investigate. Also consider the sync info files on disk. If the project doesn't exist anymore then where do the sync info files live since there is no meta data area for the project? *** Bug 17548 has been marked as a duplicate of this bug. *** Perhaps it would be acceptable in the move case to move the sync info with the project. For project deletions, the sync info could disappear. This is the behavior that we want for the target providers. I can't see why other synchronizer users wouldn't want this. *** Bug 21662 has been marked as a duplicate of this bug. *** Consider for 2.0.1. Sync info for a resource move should not be retained unless the resources are projects. Note that we don't want to retain sync info or create phantoms for the source of the move, only move the info to the destination. See Workspace.copyTree and Workspace.createResource for potential location of fix. May require changes in move/delete hook helper class ResourceTree.movedProjectSubtree. Fixed and released into both HEAD and 2.0.1 stream. Closing. |