Review 12.4 Merged

84572[BUGFIX] Prevent backend errors for invalid backend_layout config

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

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 46

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

  2. core-ci voted on patch set 1 V -1 06/10/24, 18:01 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/59067

  3. Christian Kuhn uploaded patch set 2 V -1 06/10/24, 20:46

  4. core-ci voted on patch set 2 V +1 06/10/24, 20:53 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/59077

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

  6. Christian Kuhn merged patch set 3 06/10/24, 20:55