Project

General

Profile

Actions

Bug #102135

closed

defLangBinding=1 and backendLayout with empty colums throws an Exception in PageModule

Added by Achim Fritz 7 months ago. Updated 4 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2023-10-10
Due date:
% Done:

100%

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

Description

setting TsConfig of BE-User to

page.mod.web_layout.defLangBinding = 1

and having an backendLayout with no columns, e.g.
mod.web_layout.BackendLayouts.Foopage {
  title = Foo Page
  config {
    backend_layout {
      colCount = 0
      rowCount = 0
    }
  }
}

leeds to an Exception in the Backend Page-Module:
(1/1) TypeError
TYPO3\CMS\Backend\ViewHelpers\LanguageColumnViewHelper::render(): Return value must be of type TYPO3\CMS\Backend\View\BackendLayout\Grid\GridColumn, null returned

!Screenshot 2023-10-10 at 10.28.59

!
this happens not on TYPO3 Version > 11


Files

clipboard-202310101033-o7vjl.png (73.3 KB) clipboard-202310101033-o7vjl.png Achim Fritz, 2023-10-10 08:33
Actions #1

Updated by Gerrit Code Review 7 months ago

  • Status changed from New to Under Review

Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81399

Actions #2

Updated by Gerrit Code Review 6 months ago

Patch set 2 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81399

Actions #3

Updated by Anonymous 4 months ago

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

Also available in: Atom PDF