Community
Participate
Working Groups
Steps to reproduce: Create a project and configure it to use an FTP target. Login to the FTP server manually & create a directory structure 3 levels deep, with some files in the deepest dir. In Eclipse, attempt to sync the project with the target repo. The sync view will show everything that has been manually created on the server. Atempt to recursively download everything by selecting download from the context menu of the project in the sync view. Expected behavior: The entire directory structure should be copied over to the local project. Actual behavior: An error dialog complains that one of the 3rd level subdirectries does not exist (in the local project). My suspicion: Eclipse is attempting to create the child folder 3 levels down without ensuring that its parent exists in the workspace. For convenience of reproduction: I have created a directory structure that is guarunteed to provoke this situation. It is called p26 and is available under /tmp on fiji (fiji:/tmp/p26). Just copy this directory structure to your test target folder.
Created attachment 1517 [details] A tarball of the directory structure that I am able to reproduce this problem with reliably.
This only happens in the sync view. It happening because ResourceState will only create an immediate parent of a resource. This may happen with DAV as well. Fix is simple.
*** This bug has been marked as a duplicate of 18177 ***
This is actually a unique bug, which was fixed while I attempted to fix the one I thought it was a dupe of. That bug may still exist, however.
Fix has been checked in.
Can this fix (and/or fixes for the bug this one is duplicate of) be include into some integration build for branch 2.0.1
We're well past version 3 now and this bug has not resurfaced so it deserves to be closed.