Bug #80518

Wrong namespace declaration for plain mail checkbox causes broken email output

Added by Ronny Sternecker over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Must have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2017-03-28
Due date:
% Done:

100%

TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:

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" />

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

Associated revisions

Revision 1c4caf24 (diff)
Added by Ronny Sternecker over 1 year ago

[BUGFIX] Fix namespace declaration for checkboxes in plain form mails

In system extension form emails from form data are generated by a
PostProcessor. The partial for checkbox elements on plain text mails
missed a preliminary blancket in namespace declaration
(first character in this file). This bracket is added.

Resolves: #80518
Releases: 7.6
Change-Id: Ib3b4e27d645d86c4dc75a0da66c86ebb48f0242a
Reviewed-on: https://review.typo3.org/52229
Reviewed-by: Wouter Wolters <>
Tested-by: Wouter Wolters <>
Reviewed-by: Andreas Fernandez <>
Tested-by: Andreas Fernandez <>

History

#1 Updated by Gerrit Code Review over 1 year ago

  • Status changed from New to Under Review

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

#2 Updated by Gerrit Code Review over 1 year ago

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

#3 Updated by Ronny Sternecker over 1 year ago

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

Also available in: Atom PDF