Merge conflict Gerrit cannot merge this change. It needs a rebase onto main.

Review main Ready for review Quiet

97242[BUGFIX] Take version records into account for `eval=unique` checks

Elias Häußler CR 0 V 0 Normal +122 −6 updated 10/30/26, 17:27

Commit message

Columns configured with `eval=unique` are considered unique as long as
no other record carries the same value for it. However, this only
applies to records of a different origin. Versioned records that either
exist in an active workspace (when editing in live workspace) or that
exist in the live workspace (when editing in an active workspace) are
excluded from the uniqueness check, because they effectively target the
same record. This was previously only applied from the workspace side
(when editing in an active workspace) and not from the live workspace,
which is now fixed by a bidirectional uniqueness check.

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 1
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/42/97242/1 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/42/97242/1 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V 0 Needs a vote
    • core-ci +1 CI

Issues 1

Files 2

Review log 23

  1. Elias Häußler uploaded patch set 1 10/30/26, 17:16

  2. Benni Mack commented on patch set 1 10/30/26, 17:24

    Unresolved

    there are like 5 issues open already about this :)
  3. core-ci voted on patch set 1 V +1 10/30/26, 17:27 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/112897