Skip to content
Commit 0c931f0d authored by Mathias Brodala's avatar Mathias Brodala Committed by Benni Mack
Browse files

[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: default avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: default avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarcore-ci <typo3@b13.com>
parent 02251a17
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment