Issue Bug Closed

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

Achim Fritz 10/10/23, 08:49 updated 07/09/24, 15:19

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
!clipboard-202310101033-o7vjl.png!
!
this happens not on TYPO3 Version > 11

Reviews 1