Review 11.5 Merged

75391[BUGFIX] Fix relationship import with sql strict_mode

Christian Kuhn CR +2 V +2 Easy +19 −2 updated 08/07/22, 15:54

Commit message

When sql strict mode is enabled on the database server,
if a value has a wrong data type for the database column,
the INSERT or UPDATE query will fail.
This happened during a t3d import: relationships are lost.

This patch fixes the issue by using the TCA default value for the field.

Review

  • Code review CR +2 Done
    • Christian Kuhn +2
  • Verified V +2 Done
    • Christian Kuhn +2
    • core-ci +1 CI

Issues 1

Files 1

Review log 46

  1. Christian Kuhn uploaded patch set 1 08/07/22, 15:32

  2. core-ci voted on patch set 1 V -1 08/07/22, 15:41 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/29926

  3. Christian Kuhn uploaded patch set 2 08/07/22, 15:43

  4. core-ci voted on patch set 2 V +1 08/07/22, 15:51 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/29927

  5. Christian Kuhn voted on patch set 2 V +2 CR +2 08/07/22, 15:54

  6. Christian Kuhn merged patch set 3 08/07/22, 15:54