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 almost 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 #1

Updated by Christian Eßl about 4 years ago

  • Related to Task #90882: Refactor BackendLayout and fluid page module components added
Actions #2

Updated by Gerrit Code Review about 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

Actions #3

Updated by Gerrit Code Review about 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

Actions #4

Updated by Gerrit Code Review about 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

Actions #5

Updated by Christian Eßl about 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Benni Mack almost 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF