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

Updated by Georg Ringer almost 3 years ago

  • Status changed from New to Needs Feedback

I can't reproduce with latest 11-dev nor main branch. are any extensions involved or can you test on latest dev version?

Actions #2

Updated by Lina Wolf almost 3 years ago

  • Status changed from Needs Feedback to Closed

I cannot reproduce it on current 11.5 branch even with the same extensions installed. Therefore closing this one. The problem must be somewhere in the project.

Actions

Also available in: Atom PDF