Project

General

Profile

Actions

Bug #104559

open

Enlarge on Click [image_zoom] with ".gif" files results in FileReference could not be converted to string

Added by Christian Hackl 3 months ago. Updated 3 months ago.

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

error.JPG (353 KB) error.JPG Christian Hackl, 2024-08-06 14:49
error-debug.JPG (310 KB) error-debug.JPG Christian Hackl, 2024-08-06 14:52
example.gif (878 KB) example.gif Example test GIF Christian Hackl, 2024-08-06 14:53
Actions #1

Updated by Garvin Hicking 3 months ago

  • Category set to Fluid Styled Content
Actions

Also available in: Atom PDF