Review 12.4 Merged

83423[BUGFIX] Use original file for ProcessedFile::getMimeType and ::getSize

Georg Ringer CR +2 V +2 Easy +26 −0 updated 03/12/24, 07:34

Commit message

When the processed files are saved in a different storage,
calling `$this->getStorage()->getFileInfoByIdentifier()`
on a ProcessedFile that uses the original file will fail.

This patch proxies the calls to the original file if necessary,
just as it is already done for e.g. exists() and getPublicUrl().

Review

  • Code review CR +2 Done
    • Georg Ringer +2
  • Verified V +2 Done
    • Georg Ringer +2
    • core-ci +1 CI

Issues 1

Files 1

Review log 34

  1. Georg Ringer commented on patch set 1 03/11/24, 20:49

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 03/11/24, 20:55 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/54384

  3. Georg Ringer voted on patch set 1 CR +2 V +2 03/12/24, 07:34

  4. Georg Ringer merged patch set 2 03/12/24, 07:34