Project

General

Profile

Bug #89430

Updated by Sebastian Müller over 4 years ago

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 

 <pre> 
 #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 
 </pre> 

 <pre> 
         $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); 
 </pre> 

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


Back