Issue Bug Closed

#107181EmailToReceiver HTML Email template is loaded from wrong directory

Simon Schaufelberger 07/30/25, 23:17 updated 08/13/25, 13:15

Description

I discovered a bug in EXT:form that is caused by this commit: https://review.typo3.org/c/Packages/TYPO3.CMS/+/85346 (#104471)

I have a form with an EmailToReceiver finisher and the following options:

finishers:
  -
    options:
      subject: 'Kontaktformular über typo3-core-composer.test'
      senderAddress: '{email}'
      senderName: '{text-1} {text-2}'
      attachUploads: true
      templateName: Registration
      templateRootPaths:
        100: 'EXT:my_extension/Resources/Private/Forms/'
      translation:
        language: default
      recipients:
        info@typo3-core-composer.test: TYPO3
      addHtmlPart: true
      title: 'TYPO3 Kontaktformular'
    identifier: EmailToReceiver
    defaultValue: ''

Before this commit, the template was correctly loaded from Resources/Private/Forms/FormFrontend/Registration.html .

After the commit, it is now loaded from Resources/Private/Forms/Default/Registration.html . So the controller name is lost somewhere.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.