Bug #88400
closedProcessedFile does not implement FAL methods correctly
100%
Description
A Processed File instance can not be moved through the API methods.
$processedImage->moveTo()
will crash with the following exception:
Uncaught TYPO3 Exception Argument 1 passed to TYPO3\CMS\Core\Resource\Index\Indexer::updateIndexEntry() must be an instance of TYPO3\CMS\Core\Resource\File, instance of TYPO3\CMS\Core\Resource\ProcessedFile given, called in typo3/sysext/core/Classes/Resource/ResourceStorage.php on line 1978 thrown in file typo3/sysext/core/Classes/Resource/Index/Indexer.php in line 88
A basic extension that invokes this behaviour can be found under https://github.com/iresults/resize_image_error
Example call
typo3 resize-image-error:image-resize fileadmin/test/input.jpg fileadmin/test/output.jpg
Updated by Gerrit Code Review about 1 year ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81120
Updated by Gerrit Code Review about 1 year ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81120
Updated by Gerrit Code Review about 1 year ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81140
Updated by Oliver Bartsch about 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset f26f30421ae3482c149380ae8415cb2b84d605ef.