[BUGFIX] Provide current request to content element preview template
The templates can be replaced by integrators via configuration. They probably expect to be able to use the EditRecordViewHelper. This one uses the current request for its returnUrl. The request was missing which would lead to an "Call to a member function getAttribute() on null" error. Resolves: #99287 Releases: main, 12.4 Change-Id: I6a696bf176051b7c5eb4c1b762b10ebc33e7a4b1 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76939 Reviewed-by:Markus Klein <markus.klein@typo3.org> Tested-by:
Markus Klein <markus.klein@typo3.org> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
core-ci <typo3@b13.com>
parent
02251a17
Please register or sign in to comment