Review 14.3 Merged

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

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

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
    • Alexander Schnitzler +1
  • Verified V +2 Done
    • Oli Bartsch +2
    • Alexander Schnitzler +1
    • core-ci +1 CI

Issues 1

Files 4

Review log 56

  1. Oli Bartsch commented on patch set 1 11/11/26, 10:11

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 11/11/26, 10:43 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/114045

  3. Alexander Schnitzler commented on patch set 1 CR +1 V +1 11/11/26, 10:54

    Would you mind adding the topic to extbase?
  4. Alexander Schnitzler commented on patch set 1 11/11/26, 11:10

    Forget it. I didn't realize this is the backport. I wanted to review an hour ago, then something came up and I ended here after the main merge. 😄
  5. Oli Bartsch voted on patch set 1 CR +2 V +2 11/11/26, 14:10

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