Project

General

Profile

Actions

Bug #100895

closed

f:format.html Not working in E-Mail

Added by Sebastian Lempik over 1 year ago. Updated 5 months ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2023-05-17
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
easy
Is Regression:
Yes
Sprint Focus:

Description

The Viewhelper f:format will not work in E-Mails any more, since it expects to get a valid request. But E-Mails have no request element, which leads to a error. This can be fixed by simply changing the line 175 in HtmlVieHelper.php to:

if($request!=null) $contentObject->setRequest($request);

The same Problem might also exist for other ViewHelpers (not tested).
I hope this gets patched as soon as possible, since it breaks felogin PasswordRecovery functionality.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #100637: Use setRequest() in ContentObjectRendererClosed2023-04-17

Actions
Actions

Also available in: Atom PDF