Review 14.3 Merged

94811[BUGFIX] Enhance workspace handling of language synchronization

Benni Mack CR +2 V +2 Normal +237 −8 updated 07/17/26, 11:43

Commit message

Workspace handling of synchronizing languages between ancestor and
dependent records has been missing. Basically this is all about
resolving the live UID of records that are used for l10n_parent
fields as well as for other relations pointers.

This happens in a very "basic" construct in every versioned
record for editor - even without relations:

When switching to a workspace, one edits an existing page (with
translations) and sets a field with "allowLanguageSynchronization".

FormEngine - in Workspace=1 - utilizes the liveId in data[pages][123]
obviously. When persisting, a new version is created and subsequent
edits use the versioned ID in FormEngine (input name="data[pages][124]")
which are thus not working anymore.

This patch solves the actual problem, making
"allowLanguageSynchronization" work fully now.

The main trick is to always resolve to the live version of the
default language (l10n_parent ID) over and over again.

Review

  • Code review CR +2 Done
    • Benni Mack +2
  • Verified V +2 Done
    • Benni Mack +2
    • core-ci +1 CI

Issues 4

Files 5

Review log 34

  1. Benni Mack commented on patch set 1 07/17/26, 11:26

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 07/17/26, 11:34 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/104874

  3. Benni Mack voted on patch set 1 CR +2 V +2 07/17/26, 11:43

  4. Benni Mack merged patch set 2 07/17/26, 11:43