Community
Participate
Working Groups
It appears that the sync info associated with a project is lost if the project is moved. Because of this, we cannot keep the target provider mapping (DAV or FTP) when a project is moved.
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.