Review main Work in progress

98075[BUGFIX] Do not version unchanged records in workspaces

Sebastian Michaelsen CR 0 V 0 Hard +417 −121 updated 11/26/26, 15:10

Commit message

Saving a live record in a workspace created its workspace version
before DataHandler checked whether any value differs. An unchanged
save therefore versioned the record, all its inline and file children
and, through l10n_mode=exclude or language synchronization, its
translations. Publishing these copies overwrote changes made in live
in the meantime.

DataHandler now compares the submitted values with the live record
before it creates the version, and skips the record when nothing
differs. Relations kept in MM tables or child records are read and
compared, since processing them would write to the live record.

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

Show 28 more changes Show less

Issues 1

Files 24

Show 4 more files Show less

Review log 12

  1. Sebastian Michaelsen uploaded patch set 1 11/26/26, 14:58

  2. core-ci voted on patch set 1 V +1 11/26/26, 15:10 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115580