Bug #99287
closedRequest missing for StandardContentPreviewRenderer View
100%
Description
Integrators are able to configure a custom Fluid template per content element.
This template is rendered via StandardContentPreviewRenderer.
Integrators can use the Uri/EditRecordViewHelper which will break unless the Request is provided by Rendering Context, leading to:
(1/1) Error Call to a member function getAttribute() on null in /project/vendor/typo3/cms-backend/Classes/ViewHelpers/Uri/EditRecordViewHelper.php line 77 } if (empty($arguments['returnUrl'])) { /** @var RenderingContext $renderingContext */ $request = $renderingContext->getRequest(); $arguments['returnUrl'] = $request->getAttribute('normalizedParams')->getRequestUri(); } $params = [ 'edit' => [$arguments['table'] => [$arguments['uid'] => 'edit']],
Updated by Gerrit Code Review almost 2 years ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76939
Updated by Gerrit Code Review over 1 year ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76939
Updated by Markus Klein over 1 year ago
- Has duplicate Bug #101272: Content preview fails to initialize renderingContext correctly added
Updated by Gerrit Code Review 4 months ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76939
Updated by Gerrit Code Review 2 months ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76939
Updated by Gerrit Code Review 2 months ago
Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76939
Updated by Gerrit Code Review 2 months ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86052
Updated by Mathias Brodala 2 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 0c931f0d2446eec232a92d70c36c172a425b611c.
Updated by Gerrit Code Review 2 months ago
- Status changed from Resolved to Under Review
Patch set 2 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86052
Updated by Benni Mack 2 months ago
- Status changed from Under Review to Resolved
Applied in changeset bc4e6b40c7b8b2ad36ba56e7644e39d96f876e97.