Project

General

Profile

Actions

Bug #105403

open

f:image and cache busting issue

Added by Frank Nägler 29 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
Start date:
2024-10-23
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Since version 13.4, the following fluid code:

<f:image src="{f:uri.resource(path: 'Images/logo.svg', extensionName: 'template')}" />

Creates an exception:

#1509741911 TYPO3Fluid\Fluid\Core\ViewHelper\Exception
Unable to render image tag in "pages:1": Folder "/_assets/862beb08718fcccbd31886444eef60f1/Images/logo.svg?1634931243/" does not exist.

When disabling the cache-busting in the uri.resource ViewHelper with (useCacheBusting="false") the issue is gone.
The problem is the <f:image> ViewHelper that cannot handle the URL with cacheBusting timestamp, in version 12 the same code works. Found while upgrading a version 12 project to version 13.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #99203: Re-introduce easy possibility to add paths via TypoScriptClosed2022-11-26

Actions
Actions #1

Updated by Garvin Hicking 28 days ago

  • Related to Feature #99203: Re-introduce easy possibility to add paths via TypoScript added
Actions

Also available in: Atom PDF