Task #77988
open
Moving folders between local file storages does not work
Added by Steffen Wargalla almost 8 years ago.
Updated 10 months ago.
Category:
File Abstraction Layer (FAL)
Description
Trying to move one folder to another storage leads to an flash error message in the backend file module >Directory ... was not moved to "/". Write permission problem?<
Source and target storage are using both the local filesystem driver and are writable, readable, accessible and online.
I tried to debug this issue and tracked it down so far to $this->absoluteBasePath = null in the LocalDriver class. I have not figured out why this is null at this point, but it leads to an error while checking permissions on an malformed file path, due to $this->absoluteBasePath = null.
Thank you
Related issues
1 (1 open — 0 closed)
- Status changed from New to Accepted
I can confirm this issue on TYPO3 6.2:
Create a second local storage, try to cut a folder in default fileadmin/ and paste it to the second local storage.
Confirmed with 8.5.0, when moving folders
Test procedure:
Test 1 (image)¶
1) I created a new folder tempfileadmin/ at the same level of fileadmin
2) I created a new file storage tempfileadmin with base path:"tempfileadmin/"; "relative"; "Is browsable";"Is publicly available";"Is writable";"Is online"
3) I uploaded an image in fileadmin using filelist module
4) I cut the image and pasted it onto tempfileadmin
Result: the image has been moved.
Test 2 (folder)¶
1) I created a new folder under fileadmin, called "test" (using filelist module)
2) I uploaded 4 images in /fileadmin/temp/ using filelist module
3) I cut the folder "temp" and pasted it onto tempfileadmin
Result: Error: "Directory "/test/" WAS NOT moved to "/"! There might be a problem with write permissions"
Is there any news concerning this issue for the actual TYPO3 version 8.7.?
will this be fixed somehow?
- Tracker changed from Bug to Task
- Complexity set to medium
This is not really a bug but has never been implemented, the code currently looks like this:
protected function moveFolderBetweenStorages(Folder $folderToMove, Folder $targetParentFolder, $newFolderName)
{
throw new NotImplementedMethodException('Not yet implemented', 1476046361);
}
(same for copy) - if someone wants to implement that, please go ahead.
- Related to Bug #94609: Moving a file to a different storage will not invalidate or modify the processed entry added
Still no implementation in TYPO3 12. Are there any plans on how / if this is going to be solved?
Also available in: Atom
PDF