Project

General

Profile

Actions

Task #105512

open

SystemEmail causes template parser to stop working

Added by Simon Schaufelberger 2 days ago. Updated 1 day ago.

Status:
Under Review
Priority:
Could have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2024-10-29
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Sprint Focus:

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

Actions #1

Updated by Simon Schaufelberger 2 days ago

  • Description updated (diff)
Actions #2

Updated by Simon Schaufelberger 2 days ago

  • Category set to Form Framework
Actions #3

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

Actions #4

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

Actions #5

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.

Actions #6

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

Actions

Also available in: Atom PDF