Project

General

Profile

Actions

Bug #100895

closed

f:format.html Not working in E-Mail

Added by Sebastian Lempik 12 months ago. Updated 11 months ago.

Status:
Resolved
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 #1

Updated by Georg Ringer 12 months ago

  • Status changed from New to Accepted
  • Priority changed from Should have to Must have
Actions #2

Updated by Gerrit Code Review 12 months ago

  • Status changed from Accepted 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/+/79064

Actions #3

Updated by Oliver Hader 12 months ago

  • Related to Task #100637: Use setRequest() in ContentObjectRenderer added
Actions #4

Updated by Gerrit Code Review 12 months 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/+/79064

Actions #5

Updated by Gerrit Code Review 12 months 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/+/79064

Actions #6

Updated by Gerrit Code Review 11 months ago

Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/79171

Actions #7

Updated by Oliver Hader 11 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF