Review 12.4 Merged

88426[BUGFIX] Handle NULL as JSON value

Georg Ringer CR +2 V +2 Easy +10 −4 updated 03/02/25, 14:01

Commit message

By default a TCA type "json" field,
corresponding database column is
generated as nullable with NULL as
default value.

When not setting a TCA default value,
new records therefore might be created
with NULL as value, which no longer
fails with a TypeError as we now also
handle NULL in DataHandler.

Review

  • Code review CR +2 Done
    • Georg Ringer +2
  • Verified V +2 Done
    • Georg Ringer +2
    • core-ci +1 CI

Issues 1

Files 2

Review log 34

  1. Georg Ringer commented on patch set 1 03/02/25, 13:27

    Cherry Picked from branch 13.4.
  2. core-ci voted on patch set 1 V +1 03/02/25, 13:41 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/74969

  3. Georg Ringer voted on patch set 1 CR +2 V +2 03/02/25, 14:01

  4. Georg Ringer merged patch set 2 03/02/25, 14:01