Review main Work in progress Quiet

96343[BUGFIX] Keep sorting of opposite side for MM relations of versions

Georg Ringer CR 0 V 0 Normal +80 −27 updated 10/03/26, 06:00

Commit message

When a record is versioned in a workspace, the MM relations of the new
version are written from the side of the versioned record only. The
sorting of the opposite side, e.g. "sorting_foreign" when versioning
the local side, was therefore reset to 0. Once the version got
published, the wrong sorting ended up in live and the relation moved
to the first position on the opposite side.

The sorting of the opposite side is now taken over from the MM
relations of the live record after the version has been created.
The functional test data sets encoded the wrong sorting and are
corrected.

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/43/96343/1 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/43/96343/1 && git cherry-pick FETCH_HEAD

Review

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

Merge conflicts 16

Issues 2

Files 19

Review log 12

  1. Georg Ringer uploaded patch set 1 10/03/26, 05:52

  2. core-ci voted on patch set 1 V +1 10/03/26, 06:00 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/110024