#106985File list: Updated meta data throws error while reprocessing a preview image
Description
Given:
- an image in the file list in tiles view
- a thumbnail of that file is shown
- the file information is updated outside of TYPO3 backend (e.g. by a scheduler task or manually for testing purpose) and the modification timestamp is changed
Expected:
- the preview image is update and reprocessed
Actual:
- an error is thrown: #1329821486 RuntimeException File has been deleted.
Investigation:
- the recreation of the preview image tries to find the actual path to the processed file which is (still?) marked as deleted
\TYPO3\CMS\Extbase\Service\ImageService::setCompatibilityValues -> \TYPO3\CMS\Core\Imaging\ImageResource::createFromProcessedFile -> \TYPO3\CMS\Core\Resource\AbstractFile::getForLocalProcessing
Reviews 5
- main 95698[TASK] Fix CGL violation in ProcessedFileTest
- 13.4 95678[BUGFIX] Avoid stale deleted state on reprocessed files
- 14.3 95677[BUGFIX] Avoid stale deleted state on reprocessed files
- main 95074[BUGFIX] Avoid stale deleted state on reprocessed files
- 13.4 89089[BUGFIX] Generate proper file path for ImageResource objects
Related issues 4
- Bug #106518Wrong filepath generated in createFromProcessedFile
- Bug #108567Renaming file on S3: Exception "File has been deleted"
- Bug #110318ProcessedFile::getForLocalProcessing() asks the processing storage for a file that points to the original
- Task #110627More debug output for "File has been deleted." exception in AbstractFile
History 710
-
Garvin Hicking commented and changed status
NewAccepted <span data-processor="relativetime" data-value="2025-06-26T11:07:45+00:00" > 06/26/25, 11:07 </span> -
Nicole Hummel commented <span data-processor="relativetime" data-value="2025-06-26T11:41:13+00:00" > 06/26/25, 11:41 </span>
I think the necessary core patch which introduced the problem is https://review.typo3.org/c/Packages/TYPO3.CMS/+/89089 which seems to be released first with 13.4.10
-
Garvin Hicking changed Related to #106518 <span data-processor="relativetime" data-value="2025-06-26T12:48:38+00:00" > 06/26/25, 12:48 </span>
-
Garvin Hicking changed Related to #110318 <span data-processor="relativetime" data-value="2026-07-29T13:38:18+00:00" > 07/29/26, 13:38 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 95074 status
AcceptedUnder Review <span data-processor="relativetime" data-value="2026-08-03T10:23:14+00:00" > 08/03/26, 10:23 </span> -
Simon Schaufelberger changed Related to #110627 <span data-processor="relativetime" data-value="2026-09-04T15:46:16+00:00" > 09/04/26, 15:46 </span>
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 95677 <span data-processor="relativetime" data-value="2026-09-07T09:24:05+00:00" > 09/07/26, 09:24 </span>
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 95678 <span data-processor="relativetime" data-value="2026-09-07T09:24:12+00:00" > 09/07/26, 09:24 </span>
-
Benni Mack commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-09-07T09:40:09+00:00" > 09/07/26, 09:40 </span>Applied in changeset commit:acd959c07ccf6207bbd3470acbc3e21b21575a0f.
I can reproduce this in main, too.
Reloading the filelist after this then re-processes the file again though. Of course the exception must be prevented here.
Nicole: Do you know if this is an actual regression, did it work in a recent release before?