Bug #45748
closedretrieveFileOrFolderObject does not support folder.
100%
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.
Updated by Gerrit Code Review about 11 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18690
Updated by Gerrit Code Review about 11 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18690
Updated by Gerrit Code Review about 11 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18690
Updated by Gerrit Code Review about 11 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18690
Updated by Gerrit Code Review about 11 years ago
Patch set 5 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18690
Updated by Gerrit Code Review about 11 years ago
Patch set 6 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18690
Updated by Gerrit Code Review about 11 years ago
Patch set 7 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18690
Updated by Gerrit Code Review about 11 years ago
Patch set 8 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18690
Updated by Ivan Dharma Kartolo about 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset c6d1d85ccf16af0f76c8e6dca0b09826e704c7f9.
Updated by Riccardo De Contardi over 6 years ago
- Status changed from Resolved to Closed