Project

General

Profile

Actions

Task #77988

open

Moving folders between local file storages does not work

Added by Steffen Wargalla about 8 years ago. Updated about 1 year ago.

Status:
Accepted
Priority:
Must have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2016-09-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
medium
Sprint Focus:

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 open0 closed)

Related to TYPO3 Core - Bug #94609: Moving a file to a different storage will not invalidate or modify the processed entryNew2021-07-21

Actions
Actions #1

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.

Actions #2

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"

Actions #3

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?

Actions #4

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.

Actions #5

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
Actions #6

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?

Actions

Also available in: Atom PDF