Issue Bug Closed

#80518Wrong namespace declaration for plain mail checkbox causes broken email output

Ronny Sternecker 03/28/17, 13:57 updated 10/02/18, 11:00

Description

When a form with a checkbox is submitted the generated email contains text from namespace declaration:

E.g.:
@namespace form=TYPO3\CMS\Form\ViewHelpers}<form:plainmail labelcontent="TYPO3\CMS\Form\Domain\Model\Element:" content="xxx"></form:plainmail>@

The namespace declaration in sysext/form/Resources/Private/Partials/Default/PostProcessor/Mail/Plain/FlatElements/Checkbox.html misses a preliminary bracket (first character in this file).

See:
https://git.typo3.org/Packages/TYPO3.CMS.git/blob/refs/heads/TYPO3_7-6:/typo3/sysext/form/Resources/Private/Partials/Default/PostProcessor/Mail/Plain/FlatElements/Checkbox.html

Reviews 1