Issue Bug Closed

#103863CObjectViewHelper does not render IMAGE object proper when file is a GIFBUILDER object

Mogens Fiebrandt 05/20/24, 18:55 updated 07/04/24, 13:17

Description

Using the CObjectViewHelper in a fluid-template to render an IMAGE-object:

    <f:cObject typoscriptObjectPath="lib.myImage" />

Where the file property is a GIFBUILDER-object:

lib.myImage = IMAGE
lib.myImage {
  file = GIFBUILDER
  file {
    backColor = yellow
    XY = 500,500
    format = webp
    quality = 44
  }
}

Leads to following type-error:

TYPO3\CMS\Frontend\Imaging\GifBuilder::start(): Argument #2 ($data) must be of type array, null given, called in /app/web/vendor/typo3/cms-frontend/Classes/ContentObject/ContentObjectRenderer.php on line 3571

The added Patch fixes the Problem.

Reviews 1

Files 1

History 36

  1. Gerrit Code Review pushed patch set 1 for main to change 84320 status New Under Review 05/20/24, 21:00

  2. Gerrit Code Review pushed patch set 2 for main to change 84320 05/21/24, 07:37

  3. Stefan Bürk changed Related to #102931 05/21/24, 07:48

  4. Gerrit Code Review pushed patch set 3 for main to change 84320 05/21/24, 08:06

  5. Mogens Fiebrandt commented and changed status Under Review Resolved done 0 % 100 % 05/21/24, 08:20

    Applied in changeset commit:08d08fe16b6c6af72239b086c1b7af064710435b.

  6. Benni Mack changed status Resolved Closed 07/04/24, 13:17