Actions
Bug #104559
openEnlarge on Click [image_zoom] with ".gif" files results in FileReference could not be converted to string
Status:
New
Priority:
Should have
Assignee:
-
Category:
Fluid Styled Content
Target version:
-
Start date:
2024-08-06
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
12
PHP Version:
8.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Enlarge on Click [image_zoom] with ".gif" files results in FileReference could not be converted to string.
For example use TextMedia contentelement add a ".gif" file and set Enlarge on Click - so that the "ce:link.clickEnlarge" ViewHelper is used (fluid_styled_content/Resources/Private/Partials/Media/Type/Image.html).
Then at the Frontend the Error occures:
"Object of class TYPO3\CMS\Core\Resource\FileReference could not be converted to string."
Only on GIF files - svg, jpg, jpeg, mp4, png works fine.
The TYPO3\CMS\Frontend\Typolink\LinkFactory->create() Method is called two times, one time empty "$linkConfiguration" and one time with values (array), see screenshoots.
Files
Actions