Actions
Bug #103863
closedCObjectViewHelper does not render IMAGE object proper when file is a GIFBUILDER object
Start date:
2024-05-20
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
13
PHP Version:
8.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
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.
Files
Actions