Task #77988
openMoving folders between local file storages does not work
0%
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
Updated by Stephan Großberndt almost 8 years ago
- 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.
Updated by Riccardo De Contardi almost 8 years ago
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"
Updated by Angelo Previtali over 6 years ago
Is there any news concerning this issue for the actual TYPO3 version 8.7.?
will this be fixed somehow?
Updated by Susanne Moog over 5 years ago
- 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.
Updated by Sybille Peters over 3 years ago
- Related to Bug #94609: Moving a file to a different storage will not invalidate or modify the processed entry added
Updated by Stefan Terborg about 1 year ago
Still no implementation in TYPO3 12. Are there any plans on how / if this is going to be solved?