Review 11.5 Merged

84551[BUGFIX] Prevent backend errors for invalid backend_layout config

Christian Kuhn CR +2 V +2 Easy +23 −2 updated 06/10/24, 20:56

Commit message

When the configuration for `mod.web_layout.BackendLayouts`
contains column definitions with an empty content, this
will make both the list view and the normal page view
in the backend fail.

This makes using the GUI editing of the 'backend_layout'
records impossible to be fixed/addressed.

This patch now does a more lax check on the
'columns.' array to prevent PHP error notices on
invalid array key access.

Review

  • Code review CR +2 Done
    • Christian Kuhn +2
  • Verified V +2 Done
    • Christian Kuhn +2
    • core-ci +1 CI

Issues 1

Files 3

Review log 45

  1. Christian Kuhn uploaded patch set 1 06/10/24, 17:47

  2. Christian Kuhn updated the commit message in patch set 2 06/10/24, 17:47

  3. core-ci voted on patch set 2 V +1 06/10/24, 17:59 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/59066

  4. Christian Kuhn voted on patch set 2 CR +2 V +2 06/10/24, 20:56

  5. Christian Kuhn merged patch set 3 06/10/24, 20:56