Review main Abandoned

82260[BUGFIX] Add missing TCA default values for select-mm fields

Stefan Bürk CR 0 V 0 Easy +4 −0 updated 12/20/23, 12:25

Commit message

With #102279 default schema definition creation based
on TCA configuration has been added for `type=select`
fields.

MM relation parent count fields are set to not-nullable
integer fields with a database default of `(int)0`. By
nature a database uses the database default value only
if field is not provided or provided as `NULL` value.
Not providing a TCA default value uses empty string `""`
as value, which is swallowed silently by most database
enginges expect `PostgreSQL` which kisses the floor with

  SQLSTATE[22P02]: Invalid text representation: 7
  ERROR:  invalid input syntax for integer: ""

This change adds TCA default for some `ext:styleguide`
tables to mitigate this issue during record creation.

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Issues 3

Files 2