Actions
Bug #101272
closedContent preview fails to initialize renderingContext correctly
Start date:
2023-07-06
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
setting a preview for mod.web_layout.tt_content.preview.<ctype>
causes an exception due to missing request in EditRecordViewHelper.
The initialized StandaloneView is not initialized correctly.
Example:
mod.web_layout.tt_content.preview.text = EXT:sitepackage/Resources/Private/Templates/dummy.html
dummy.html
{be:uri.editRecord(uid: uid,table: 'tt_content')}
Updated by Markus Klein over 1 year ago
\TYPO3\CMS\Backend\View\Drawing\BackendLayoutRenderer::drawContent
has a valid request
subsequently calls
\TYPO3\CMS\Backend\Preview\StandardContentPreviewRenderer::renderContentElementPreviewFromFluidTemplate
which then creates a StandaloneView, but does not initialize its renderingContext, more precisely the request.
Updated by Gerrit Code Review over 1 year ago
- Status changed from Accepted 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/+/79836
Updated by Markus Klein over 1 year ago
- Is duplicate of Bug #99287: Request missing for StandardContentPreviewRenderer View added
Updated by Markus Klein over 1 year ago
- Status changed from Under Review to Closed
Actions