Bug #103863
closedCObjectViewHelper does not render IMAGE object proper when file is a GIFBUILDER object
100%
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
Updated by Gerrit Code Review about 1 month ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84320
Updated by Gerrit Code Review about 1 month ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84320
Updated by Stefan Bürk about 1 month ago
- Related to Task #102931: Remove outdated hook in GifBuilder added
Updated by Gerrit Code Review about 1 month ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84320
Updated by Mogens Fiebrandt about 1 month ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 08d08fe16b6c6af72239b086c1b7af064710435b.