Project

General

Profile

Actions

Bug #91162

closed

Cant render own footer preview on tt_content elements in backend

Added by Sebastian Richter about 4 years ago. Updated about 4 years ago.

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

error.png (162 KB) error.png Sebastian Richter, 2020-04-21 18:55

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #90882: Refactor BackendLayout and fluid page module componentsClosed2020-03-29

Actions
Actions

Also available in: Atom PDF