Breaking: #29342 - Fluid Email Template for ValidatorTask¶
See forge#29342
Description¶
In TYPO3 v10 ext:
has been improved a lot. The
\TYPO3\
, a scheduler task for reporting
broken links via email, has been refactored now.
The old marker template has been replaced by Fluid templates, which are now used for generating the report email. The marker template has been removed completely along with corresponding functionality.
The following property of the Validator
class has been removed:
$email
Template File
The following hooks have been removed and won't be executed anymore:
$GLOBALS
['TYPO3_ CONF_ VARS'] ['EXTCONF'] ['linkvalidator'] ['report Email Markers'] $GLOBALS
['TYPO3_ CONF_ VARS'] ['EXTCONF'] ['linkvalidator'] ['build Mail Markers']
The following properties of the Validator
class have changed their type:
$page
is nowint
$depth
is nowint
$email
is nowOn Broken Link Only bool
$configuration
is nowstring
Impact¶
It is no longer possible to set a custom marker based template file with
email
. Instead, the new field email
can be used to
specify a Fluid template file, see Migration section below.
Affected Installations¶
All installations which use:
- the scheduler task and provide a custom template file
- one of the hooks mentioned above
Migration¶
Provide your custom templates using the new field email
in the scheduler task configuration and add your custom template
path to $GLOBALS
.
Use the new PSR-14 event \TYPO3\
to adjust the
\TYPO3\
along with the Fluid
object.