Review main Merged

97363[BUGFIX] Allow persisting null for properties without type in Extbase

Oli Bartsch CR +2 V +2 Normal +81 −1 updated 11/11/26, 10:11

Commit message

Backend::getPlainValue() called getClassName() on the primary type of
a property without checking that a type exists. Updating an entity
whose property has neither a native type nor a resolvable @var
annotation to null therefore failed with "Call to a member function
getClassName() on null".

Properties without a resolvable type are now persisted as null, as
any other null value without a DateTime column or relation.

Review

  • Code review CR +2 Done
    • Oli Bartsch +2
    • Georg Ringer +1
    • Oliver Klee +1
    • Simon Schaufelberger +1
  • Verified V +2 Done
    • Oli Bartsch +2
    • Georg Ringer +1
    • Oliver Klee +1
    • Simon Schaufelberger +1
    • core-ci +1 CI

Issues 1

Files 4

Review log 78

  1. Oli Bartsch uploaded patch set 1 11/05/26, 09:43

  2. core-ci voted on patch set 1 V +1 11/05/26, 09:58 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113377

  3. Simon Schaufelberger voted on patch set 1 CR +1 V +1 11/05/26, 10:15

  4. Oliver Klee voted on patch set 1 V +1 11/05/26, 10:46

  5. Oliver Klee voted on patch set 1 CR +1 11/05/26, 10:46

  6. Georg Ringer voted on patch set 1 CR +1 V +1 11/11/26, 10:10

  7. Oli Bartsch voted on patch set 1 CR +2 V +2 11/11/26, 10:11

  8. Oli Bartsch merged patch set 2 11/11/26, 10:11