Bug #91162
closedCant render own footer preview on tt_content elements in backend
100%
Description
If i register an additional previewRenderer for the footer on a tt_content element
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/layout/class.tx_cms_layout.php']['tt_content_drawFooter']
i get an error which says that the method `Call to undefined method TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumnItem::getBackendLayout()`.
The method doesnt exist anymore and if i change line 243 in the class `typo3/sysext/backend/Classes/Preview/StandardContentPreviewRenderer.php` to
$pageLayoutView = PageLayoutView::createFromPageLayoutContext($item->getContext());
everything is working fine again.
Files
Updated by Christian Eßl over 4 years ago
- Related to Task #90882: Refactor BackendLayout and fluid page module components added
Updated by Gerrit Code Review over 4 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64297
Updated by Gerrit Code Review over 4 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64297
Updated by Gerrit Code Review over 4 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64297
Updated by Christian Eßl over 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset b524b1b9e071ec707bb5cffc1fa050ad8e77c56b.