Review 12.4 Merged

86734[BUGFIX] Use proper FileReference for imageLinkWrap

Garvin Hicking CR +2 V +2 Easy +5 −0 updated 10/23/24, 17:20

Commit message

In a TypoScript configuration like:

```
lib.testImage = IMAGE
lib.testImage.file = fileadmin/something.jpg
```

an image gets resolved in ContentObjectRenderer via
getFileObject(), which can return a ProcessedFile.

For these objects, there is no 'process' method.

This patch properly resolves to the original file
to apply the processing on.

Review

  • Code review CR +2 Done
    • Garvin Hicking +2
  • Verified V +2 Done
    • Garvin Hicking +2
    • core-ci +1 CI

Issues 1

Files 1

Review log 34

  1. Garvin Hicking commented on patch set 1 10/23/24, 16:44

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 10/23/24, 16:52 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/68470

  3. Garvin Hicking voted on patch set 1 CR +2 V +2 10/23/24, 17:20

  4. Garvin Hicking merged patch set 2 10/23/24, 17:20