Actions
Bug #89430
closedCopying directory in FileList throws exception
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.
Actions