Active
Project:
File Server
Version:
6.x-1.0-alpha3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Sep 2010 at 01:31 UTC
Updated:
22 Sep 2010 at 01:31 UTC
Hi All
I found that renaming, or in windows just right click - new folder (which calls a rename/move) would drop the folder back to the root and actually kill its name too. This is because in fileserver.module -> function fileserver_dav_move the $target_path array was coming in with a final array element of "" for some reason.
If you have this problem, the fix is to add the following at line 385 (or just after "if (user_access('administer taxonomy')) {":
// remove additional empty array bit that should not be on the end of it first
if ($target_path[count($target_path) - 1] == "") {
array_pop($target_path);
}
Hope this helps someone else from spending time debugging this problem! By the way, we love this module, thanks for making it!
Cheers,
Christiaan Kortekaas