#107071Duplicated references (same language and parent) after publishing
Description
When creating a translation in a workspace. Prior to publishing the records, the same page content is translated in the LIVE workspace
causing conflicting records in the database. (See the attached file)
For example uid 45 and 46 both have the same language and the same l18n_parent which does not work
| uid | sys_language_uid | header | t3ver_oid | t3ver_wsid | sys_language_uid | l18n_parent | t3ver_state | deleted | MY COMMENT |
| —- | ———————— | ———————————— | ————- | ————— | ———————— | —————- | —————- | ———- | ——————————————————— |
| 45 | 30 | GERMAN EDIT WORKSPACE | 0 | 0 | 30 | 42 | 0 | 0 | EXPECTED LIVE VALUE AFTER PUBLISHING |
| 46 | 30 | GERMAN EDIT LIVE LIVE | 0 | 0 | 30 | 42 | 0 | 0 | EVIL |
| 42 | 0 | Some Record to play with | 0 | 0 | 0 | 0 | 0 | 0 | OK |
Steps to reproduce:
1. Go to a workspace and translate records from e.g. US to danish and change the content
2. Go to the LIVE workspace and tranlate the same records to the same language e.g. US to danish
3. Go to the workspace and publish the records
See the old record in the list module – Page module looks ok but the DB has now conflicting records.
Note: The same happens for sys_file_metadata
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[BUGFIX] Duplicated references (same language and parent) after publishing Resolves: #107071 Releases: main