Task #105512
openSystemEmail causes template parser to stop working
0%
Description
Adding custom template variables doesn't work in SystemEmail because of the way how the inline CSS is parsed.
This can be reproduced like so:
finishers:
-
options:
subject: 'Kontaktformular'
senderAddress: 'no-reply@typo3.org'
senderName: 'Sender Name'
title: 'Kontaktformular'
variables:
foo: 'bar'
identifier: EmailToReceiver
and in the SystemEmail.html template put the following line right after the body tag:
{foo}
Expected output: bar
.
Actual output: {foo}
.
See also this issue which is directly reported for Fluid: https://github.com/TYPO3/Fluid/issues/808 which is the same issue
Updated by Gerrit Code Review 2 days ago
- Status changed from New 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/+/86820
Updated by Gerrit Code Review 1 day 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/+/86820
Updated by Benjamin Franzke 1 day ago
- Tracker changed from Bug to Task
- Priority changed from Should have to Could have
this is not a Bugfix, the "Bug" only happens when modifying the source. now, that's not a bug but only a task then, because the application itself does not run into an error on it's own.
Updated by Gerrit Code Review 1 day 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/+/86820