#106915Localized records disappear after editing and moving them in WS
Description
Steps to reproduce:
- Switch to a Workspace.
- Open the List module.
- Edit a localized record (either a page or tt_content – the issue occurs with both).
- Move the localized record down.
- The localized item becomes invisible in the list view.
Cause:
During the DataHandler datamap (for editing items) processing, the localized record is saved in the workspace with an incorrect transOrigPointerField (e.g., l10n_parent). It references the live record with sys_language_uid = 0, which causes it to disappear in the workspace context. In contrast, cmdmap (for moving items) processing saves the localized record correctly by referencing the workspace version of the original record with sys_language_uid = 0.
This leads to inconsistent behavior and missing localized records in the backend when working in a workspace.
Reviews 7
- main 96331[BUGFIX] Point localized workspace records to live records
- main 97528[BUGFIX] Keep live uids in relations of new versions
- main 89778[FEATURE] Introduce PSR-14 event to modify new versioned copy
- 13.4 89838[TASK] Add more workspace related move and change tests
- main 89803[TASK] Add more workspace related move and change tests
- 13.4 89800[TASK] Create workspace tests for changed localizations
- main 89799[TASK] Create workspace tests for changed localizations
Related issues 2
History 718
-
Gerrit Code Review pushed patch set 4 for main to change 89778 status
NewUnder Review <span data-processor="relativetime" data-value="2025-06-22T11:53:13+00:00" > 06/22/25, 11:53 </span> -
Christian Kuhn commented <span data-processor="relativetime" data-value="2025-06-23T10:45:00+00:00" > 06/23/25, 10:45 </span>
-
Christian Kuhn commented <span data-processor="relativetime" data-value="2025-06-23T12:38:35+00:00" > 06/23/25, 12:38 </span>
More detailed reproduce:
- Create a page in live
- Add two content elements (“ce1” and “ce2”).
- Localize page
- Localize the two content elements (“translate”, not “copy”)
- Go to workspaces
- Change the localized (!) “ce1” (e.g. “header field) in workspaces
- A ws-overlay t3ver_state 0 (“changed”) is created, l18n_parent points to the default-language LIVE (!) record since there is no default-language overlay of that record in workspaces. - Resort the default language “ce1” below “ce2” using page module drag&drop or list module sorting buttons.
- A ws-overlay t3ver_state 4 (“moved”) is created, and the previously created ws-overlay of the localization is changed from t3ver_state 0 to 4. The localization now does have a default language parent record in workspaces, but l18n_parent is NOT updated to this uid.
- from default language workspace point of view, the localization is now “lost” in page and list module.
Note: When not moving, but changing the default language record in workspaces, after a localization has been changed, this results in the same DB state that l18n_parent is not updated of the localized record. However, both page and list module still show the localized record.
Question: should we update the l10n_parent uid of the localized record in such situation? imho yes, but we will have to check what happens with l18n_parent when later only the localized record is published.
Question: what is the result in FE in both scenarios? -
Christian Kuhn changed Related to #106930 <span data-processor="relativetime" data-value="2025-06-23T13:22:13+00:00" > 06/23/25, 13:22 </span>
-
Christian Kuhn changed Related to #106935 <span data-processor="relativetime" data-value="2025-06-23T18:15:08+00:00" > 06/23/25, 18:15 </span>
-
Gerrit Code Review pushed patch set 5 for main to change 89778 <span data-processor="relativetime" data-value="2025-07-26T19:21:45+00:00" > 07/26/25, 19:21 </span>
-
Markus Klein commented <span data-processor="relativetime" data-value="2026-03-19T14:21:01+00:00" > 03/19/26, 14:21 </span>
Bug still exists as of v13.4.27
-
Markus Klein commented <span data-processor="relativetime" data-value="2026-03-19T14:23:36+00:00" > 03/19/26, 14:23 </span>
Minimal reproducer:
- Have a page with at least 1 additional translation
- Switch to workspace
- Move that page. Lets say a notch to the bottom
- Click the view-button of the translation
Result:
Slider for “published” shows correct content,
Slider for “staged” shows no content -
Philipp Kitzberger commented <span data-processor="relativetime" data-value="2026-04-22T12:38:41+00:00" > 04/22/26, 12:38 </span>
Don’t know if that’s the same issue: but when moving tt_content in v13 workspaces the result is a bit different:
- the FE preview via slider view works fine (for both live and staged)
- the BE edit mask shows MISSING LABEL for field `l18n_parent` (it points correctly to the workspace’d version of the translation origin though, but the dropdown only contains the live records)
After publishing, all’s fine again.
-
Gerrit Code Review pushed patch set 1 for main to change 96331 <span data-processor="relativetime" data-value="2026-10-02T18:33:04+00:00" > 10/02/26, 18:33 </span>
-
Gerrit Code Review pushed patch set 2 for main to change 96331 <span data-processor="relativetime" data-value="2026-10-05T16:24:29+00:00" > 10/05/26, 16:24 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 96331 <span data-processor="relativetime" data-value="2026-10-07T10:46:49+00:00" > 10/07/26, 10:46 </span>
-
Gerrit Code Review pushed patch set 4 for main to change 96331 <span data-processor="relativetime" data-value="2026-10-09T16:53:09+00:00" > 10/09/26, 16:53 </span>
-
Gerrit Code Review pushed patch set 5 for main to change 96331 <span data-processor="relativetime" data-value="2026-10-15T20:24:49+00:00" > 10/15/26, 20:24 </span>
-
Gerrit Code Review pushed patch set 6 for main to change 96331 <span data-processor="relativetime" data-value="2026-10-25T11:28:27+00:00" > 10/25/26, 11:28 </span>
-
Gerrit Code Review pushed patch set 7 for main to change 96331 <span data-processor="relativetime" data-value="2026-11-10T06:30:12+00:00" > 11/10/26, 06:30 </span>
-
Gerrit Code Review pushed patch set 8 for main to change 96331 <span data-processor="relativetime" data-value="2026-11-10T07:29:29+00:00" > 11/10/26, 07:29 </span>
-
Gerrit Code Review pushed patch set 9 for main to change 96331 <span data-processor="relativetime" data-value="2026-11-19T05:18:13+00:00" > 11/19/26, 05:18 </span>
confirmed.