Project

General

Profile

Actions

Bug #96720

closed

Disabling page module columns leads to PHP error

Added by Lina Wolf almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2022-02-01
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

TYPO3 11.5.4
PHP 7.4.26

When I disable all columns in the page module with

mod.SHARED.colPos_list = -1

or when I only allow columns which are not in the current backend layout i.e.

mod.SHARED.colPos_list = 42

I get the following error:

return value of TYPO3\CMS\Backend\ViewHelpers\LanguageColumnViewHelper::render() must be an instance of TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumn, null returned

in /var/www/html/web/typo3/sysext/backend/Classes/ViewHelpers/LanguageColumnViewHelper.php line 34

In TYPO3 10.4.23 this still worked and would show all columns as not editable

Actions

Also available in: Atom PDF