Project

General

Profile

Actions

Bug #69817

closed

EXT:form - fatal at mail sending if label layout contains a label tag

Added by Björn Jacob over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
Start date:
2015-09-15
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
hard
Is Regression:
No
Sprint Focus:

Description

The default value for the label wrapping looks like this <label><labelvalue /><mandatory /><error /></label>. When overriding it on a global level with the following code the mail cannot be sent.


label = <label><labelvalue /><error /><mandatory /></label>

After submitting the form the following PHP error occurs:

#1: PHP Catchable Fatal Error: Argument 3 passed to
TYPO3\CMS\Form\View\Mail\Html\Element\AbstractElementView::replaceNodeWithFragment()
must be an instance of DOMNode, null given,

called in
/vendor/typo3/cms/typo3/sysext/form/Classes/View/Mail/Html/Element/AbstractElementView.php
on line 104

and defined in
/vendor/typo3/cms/typo3/sysext/form/Classes/View/Mail/Html/Element/AbstractElementView.php
line 220 (More information)

TYPO3\CMS\Core\Error\Exception thrown in file
/vendor/typo3/cms/typo3/sysext/core/Classes/Error/ErrorHandler.php
in line 107.
Actions

Also available in: Atom PDF