Review 12.4 Merged

91915[BUGFIX] Avoid using null as array key in extbase `Backend`

Stefan Bürk CR +2 V +2 Normal +41 −40 updated 11/27/25, 14:48

Commit message

Using `NULL` as array key is converted to an empty
string in PHP and is deprecated since PHP8.5.0,
honored with following `E_DEPRECATED` error:

  Using null as an array offset is deprecated,
  use an empty string instead

Extbase `\TYPO3\CMS\Extbase\Persistence\Generic\Backend` is
modified now to mitigate using `NULL` as possible array key
in following methods:

* `Backend::insertRelationInRelationtable()`
* `Backend::updateRelationInRelationTable()`
* `Backend::deleteAllRelationsFromRelationtable()`
* `Backend::deleteRelationFromRelationtable()`

Review

  • Code review CR +2 Done
    • Stefan Bürk +2
  • Verified V +2 Done
    • Stefan Bürk +2
    • core-ci +1 CI

Issues 1

Files 1

Review log 34

  1. Stefan Bürk uploaded patch set 1 11/27/25, 14:41

  2. core-ci voted on patch set 1 V +1 11/27/25, 14:48 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91108

  3. Stefan Bürk voted on patch set 1 CR +2 V +2 11/27/25, 14:48

  4. Stefan Bürk merged patch set 2 11/27/25, 14:48