#45748retrieveFileOrFolderObject does not support folder.
Description
Hi,
I have an old extension which uploads files to uploads/tx_myextension/.
The extension uses the old t3lib_extFileFunctions. The upload process fails with the following exception: “TYPO3\CMS\Core\Resource\Exception\FileDoesNotExistException”
in function retrieveFileOrFolderObject (ResourceFactory.php) if the parameter given is only a folder path (which comes from t3lib_extFileFunctions::func_upload) will trigger getFileObjectFromCombinedIdentifier(). in the function the getFile will be called, which will return false, since only a folder path is given. In the LocalDriver.php there’s a getFolder method which checks if the folder exists.
I’ll try to make a patch in the next day.
thanks.