Review 13.4 Merged

88748[BUGFIX] Ensure uuid value is unique on copy + publish commands

Christian Kuhn CR +2 V +2 Hard +751 −73 updated 03/25/25, 15:34

Commit message

This change aims to fix the UUID behavior of
TCA type=uuid.

1. When a new record with field type=uuid is created,
  a UUID is created in DataHandler (and FormEngine in advance)

2. When copying/localizing a record, a new UUID is
  created at any times.

3. When moving a record, the UUID is kept the same.

4. When publishing a versioned record, the UUID field
   is skipped when interchanging the arrays.

5. When a UUID field has l10n_mode=exclude, then the
   translation contains the same value as the default
   language record.

Additionally, the FormEngine data provider
only generates a uuid value, in case the field
is marked as "required", which is the default.

Review

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

Issues 1

Files 17

Review log 34

  1. Christian Kuhn uploaded patch set 1 03/25/25, 15:21

  2. core-ci voted on patch set 1 V +1 03/25/25, 15:30 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/76274

  3. Christian Kuhn voted on patch set 1 CR +2 V +2 03/25/25, 15:34

  4. Christian Kuhn merged patch set 2 03/25/25, 15:34