Project

General

Profile

Actions

Bug #80974

closed

Form Email finisher doesn't support templateRootPaths

Added by Frans Saris about 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
Form Framework
Target version:
-
Start date:
2017-04-24
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The EmailFinisher uses templatePathAndFilename and due to this it doesn't support the fallback we know from most places in the core (templateRootPaths).

My suggestion would be:

instead of

   templatePathAndFilename: 'EXT:form/Resources/Private/Frontend/Templates/Finishers/Email/{@format}.html'

use

   templateName: '{@format}.html'
   templateRootPaths.20 = 'EXT:form/Resources/Private/Frontend/Templates/Finishers/Email/'

Actions #1

Updated by Ralf Zimmermann almost 7 years ago

  • Related to Bug #81384: Form plugin crashs when using layout or partial paths added
Actions #2

Updated by Ralf Zimmermann almost 7 years ago

  • Assignee set to Ralf Zimmermann
Actions #3

Updated by Ralf Zimmermann almost 7 years ago

  • Related to deleted (Bug #81384: Form plugin crashs when using layout or partial paths)
Actions #4

Updated by Ralf Zimmermann almost 7 years ago

  • Tracker changed from Bug to Feature
Actions #5

Updated by Gerrit Code Review almost 7 years ago

  • Status changed from New to Under Review

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

Actions #6

Updated by Frans Saris almost 7 years ago

IMO this is a bug and not a feature because this behavior is inconsistent with the rest of the core

Actions #7

Updated by Björn Jacob almost 7 years ago

  • Tracker changed from Feature to Bug
  • TYPO3 Version set to 8

Okay, fine with me :)

Actions #8

Updated by Gerrit Code Review almost 7 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53365

Actions #9

Updated by Gerrit Code Review over 6 years ago

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53692

Actions #10

Updated by Ralf Zimmermann over 6 years ago

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

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF