Review main Merged

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

Stefan Bürk CR +2 V +2 Easy +31 −17 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
    • Oliver Klee +1
    • Anja Leichsenring +1
    • Christian Kuhn +1
  • Verified V +2 Done
    • Stefan Bürk +2
    • Anja Leichsenring +1
    • Christian Kuhn +1
    • core-ci +1 CI

Issues 1

Files 1

Review log 69

  1. Stefan Bürk uploaded patch set 1 11/27/25, 12:59

  2. core-ci voted on patch set 1 V -1 11/27/25, 13:00 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91098

  3. core-ci commented on patch set 1 11/27/25, 13:01 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91098

  4. core-ci voted on patch set 1 V +1 11/27/25, 13:16 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91098

  5. Christian Kuhn voted on patch set 1 CR +1 V +1 11/27/25, 13:17

  6. Anja Leichsenring voted on patch set 1 CR +1 V +1 11/27/25, 13:44

  7. Stefan Bürk voted on patch set 1 CR +2 V +2 11/27/25, 13:45

  8. Oliver Klee voted on patch set 1 CR +1 11/27/25, 14:11

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