Review 13.4 Merged

87531[BUGFIX] Avoid PHP 8 exception in BackendUtility::getTcatypeValue

Oli Bartsch CR +2 V +2 Easy +5 −0 updated 12/17/24, 13:29

Commit message

When using the method BackendUtility::getTcatypeValue()
in e.g. FormEngine where $typeNum might be an array e.g.
on using "selectCheckBox" renderTyoe, TYPO3 will now
properly use the first value and otherwise fall back
to use the default value instead of throwing a PHP
8 exception.

Review

  • Code review CR +2 Done
    • Oli Bartsch +2
  • Verified V +2 Done
    • Oli Bartsch +2
    • core-ci +1 CI

Issues 1

Files 1

Review log 34

  1. Oli Bartsch commented on patch set 1 12/17/24, 13:18

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 12/17/24, 13:28 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/71273

  3. Oli Bartsch voted on patch set 1 CR +2 V +2 12/17/24, 13:29

  4. Oli Bartsch merged patch set 2 12/17/24, 13:29