Actions
Bug #91162
closedCant render own footer preview on tt_content elements in backend
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2020-04-21
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
10
PHP Version:
7.3
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:
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
Actions