Project

General

Profile

Actions

Bug #89430

closed

Copying directory in FileList throws exception

Added by Sebastian Müller over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-10-16
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

This bug is only present in TYPO3 9.5.10. If I go back to 9.5.9, the bug is not there.

When in Filelist backend module you get an exception if you copy any directory. Even as admin user.

It is claiming that the file does not excist

#1314516809 InvalidArgumentException
File /user_upload/test/blub/ does not exist.

in /var/www/typo3/test/web/typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php line 263
        $absoluteFilePath = $this->getAbsolutePath($fileIdentifier);
        // don't use $this->fileExists() because we need the absolute path to the file anyways, so we can directly
        // use PHP's filesystem method.
        if (!file_exists($absoluteFilePath) || !is_file($absoluteFilePath)) {
            throw new \InvalidArgumentException('File ' . $fileIdentifier . ' does not exist.', 1314516809);
        }

        $dirPath = PathUtility::dirname($fileIdentifier);
        $dirPath = $this->canonicalizeAndCheckFolderIdentifier($dirPath);

This error exists until you clean your userdata since the copy is saved.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #88969: Clipboard in filelist generates broken links for exportClosed2019-08-16

Actions
Has duplicate TYPO3 Core - Bug #89437: Can not cut folder in filelist since 8.7.28Closed2019-10-17

Actions
Actions

Also available in: Atom PDF