Issue Task Resolved

#105512SystemEmail causes template parser to stop working

Simon Schaufelberger 10/29/24, 11:02 updated 09/28/26, 17:10

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

Reviews 3

History 411

  1. Benjamin Franzke commented and changed tracker Bug Task priority Should have Could have <span data-processor="relativetime" data-value="2024-10-29T19:41:07+00:00" > 10/29/24, 19:41 </span>

    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.

  2. Josua Vogel commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-09-28T17:10:18+00:00" > 09/28/26, 17:10 </span>

    Applied in changeset commit:efdddaae403ad1a2fadd935a95e2d42d109d4a5e.