#103969Update language of inline elements is missing, leading to follow up issues
Description
Steps to reproduce:
- Create a site with at least two language
- Create a page within the site
- Create translation of the new page
- Create a content element in default language (don’t save yet)
- Switch language of content element to all languages (-1) and save
- Attach a file relation and save. The relation will be saved with -1 for languages, which can be confirmed by
select sys_language_uid from sys_file_referenceonce saved. - Switch language of content element to default language 0 and save.
Result:
The relation will still have -1, which is out of sync with the parent element. But that might be okay, I’m not sure about the expectation and concept.
Now continuo:
- Create translation of the content element
Expectation:
The content element will be translated, with the file relation.
Actual:
The content element is translated, but the translation has two file relations.
The -1 and a translated one.
The behaviour is slightly different for EXT:news and inline content elements. Follow the same steps but create a content element within a news record instead of a file relation. Tested with EXT:news version 11.4.2.
Expectation: The news record will be translated, with content element.
Actual:
An Exception is thrown:
(1/1) #1486233164 RuntimeException Child record was not processed
This is due to ['behaviour']['allowLanguageSynchronization' => true, within EXT:news. Removing this option results in same behaviour as for tt_content images.
I’ve attached a sqlite file with the base situation where one can reproduce the issue by triggering the corresponding localizations of records.
I don’t know what the expected behaviour should be, maybe synchronize the sys_language_uid field upon change? But definitely hot throwing an exception while translating.
Workaround: Manually switch languages of all relations. But that’s not possible for file relations by default as the field is not rendered.
When this happens: E.g. when following #103970 because the relations are than initially stored with a different language value than their parent.
Reviews 2
Related issues 8
- Bug #81165Creating IRRE record within a non-default language record sets wrong sys_language_uid
- Bug #88980Translating records with FAL relation where allowLanguageSynchronization set to true
- Bug #89787Copying element with IRRE element from one language to another
- Bug #95918original IRRE fields are shown in translation even if fields were translated already
- Bug #101962New records created on a field of type INLINE have the wrong sys_language_uid value
- Bug #103970Inline relations do not set the actual language
- Bug #110497TCEFORM sys_language_uid.disabled = 1 doesn't write correct defaults into translated entries breaking loading of IRRE for child elements
- Bug #110498sys_file_reference value of sys_language_uid is assigned with a value of 0 in a translated model if the referenced sys_file has been used by a base language object
Files 1
History 1533
Show 8 earlier messages
-
Daniel Siepmann changed description <span data-processor="relativetime" data-value="2024-06-04T06:06:05+00:00" > 06/04/24, 06:06 </span>
-
Daniel Siepmann changed description <span data-processor="relativetime" data-value="2024-06-04T06:08:07+00:00" > 06/04/24, 06:08 </span>
-
Daniel Siepmann changed description <span data-processor="relativetime" data-value="2024-06-04T06:13:02+00:00" > 06/04/24, 06:13 </span>
-
Daniel Siepmann changed Related to #103970 <span data-processor="relativetime" data-value="2024-06-04T06:13:11+00:00" > 06/04/24, 06:13 </span>
-
Daniel Siepmann changed description <span data-processor="relativetime" data-value="2024-06-04T06:55:13+00:00" > 06/04/24, 06:55 </span>
-
Daniel Siepmann changed removed the assignee <span data-processor="relativetime" data-value="2024-06-04T08:34:16+00:00" > 06/04/24, 08:34 </span>
-
Daniel Siepmann changed Tags localization, inline, irre <span data-processor="relativetime" data-value="2024-06-04T08:35:24+00:00" > 06/04/24, 08:35 </span>
-
Sybille Peters changed Related to #88980 <span data-processor="relativetime" data-value="2024-12-20T07:56:05+00:00" > 12/20/24, 07:56 </span>
-
Sybille Peters changed Related to #101962 <span data-processor="relativetime" data-value="2024-12-20T08:05:37+00:00" > 12/20/24, 08:05 </span>
-
Sybille Peters changed Related to #81165 <span data-processor="relativetime" data-value="2024-12-27T12:22:52+00:00" > 12/27/24, 12:22 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 87595 status
NewUnder Review <span data-processor="relativetime" data-value="2024-12-28T09:43:47+00:00" > 12/28/24, 09:43 </span> -
Gerrit Code Review pushed patch set 2 for main to change 87595 <span data-processor="relativetime" data-value="2024-12-28T10:23:04+00:00" > 12/28/24, 10:23 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 87595 <span data-processor="relativetime" data-value="2024-12-28T10:32:44+00:00" > 12/28/24, 10:32 </span>
-
Gerrit Code Review pushed patch set 4 for main to change 87595 <span data-processor="relativetime" data-value="2024-12-28T11:38:37+00:00" > 12/28/24, 11:38 </span>
-
Gerrit Code Review pushed patch set 5 for main to change 87595 <span data-processor="relativetime" data-value="2024-12-28T11:53:51+00:00" > 12/28/24, 11:53 </span>
-
Gerrit Code Review pushed patch set 6 for main to change 87595 <span data-processor="relativetime" data-value="2024-12-28T12:10:58+00:00" > 12/28/24, 12:10 </span>
-
Gerrit Code Review pushed patch set 7 for main to change 87595 <span data-processor="relativetime" data-value="2024-12-29T07:20:20+00:00" > 12/29/24, 07:20 </span>
-
Gerrit Code Review pushed patch set 8 for main to change 87595 <span data-processor="relativetime" data-value="2024-12-29T08:46:25+00:00" > 12/29/24, 08:46 </span>
-
Gerrit Code Review pushed patch set 9 for main to change 87595 <span data-processor="relativetime" data-value="2024-12-30T09:38:39+00:00" > 12/30/24, 09:38 </span>
-
Gerrit Code Review pushed patch set 10 for main to change 87595 <span data-processor="relativetime" data-value="2024-12-30T10:11:12+00:00" > 12/30/24, 10:11 </span>
-
Sybille Peters changed Related to #89787 <span data-processor="relativetime" data-value="2025-01-05T09:00:40+00:00" > 01/05/25, 09:00 </span>
-
Gerrit Code Review pushed patch set 11 for main to change 87595 <span data-processor="relativetime" data-value="2026-04-22T06:30:41+00:00" > 04/22/26, 06:30 </span>
-
Gerrit Code Review pushed patch set 12 for main to change 87595 <span data-processor="relativetime" data-value="2026-10-13T16:17:56+00:00" > 10/13/26, 16:17 </span>
-
Gerrit Code Review pushed patch set 13 for main to change 87595 <span data-processor="relativetime" data-value="2026-10-13T20:00:51+00:00" > 10/13/26, 20:00 </span>
-
Gerrit Code Review pushed patch set 14 for main to change 87595 <span data-processor="relativetime" data-value="2026-10-14T08:21:17+00:00" > 10/14/26, 08:21 </span>
-
Gerrit Code Review pushed patch set 15 for main to change 87595 <span data-processor="relativetime" data-value="2026-10-15T22:25:55+00:00" > 10/15/26, 22:25 </span>
-
Gerrit Code Review pushed patch set 16 for main to change 87595 <span data-processor="relativetime" data-value="2026-10-15T22:28:33+00:00" > 10/15/26, 22:28 </span>
-
Gerrit Code Review pushed patch set 17 for main to change 87595 <span data-processor="relativetime" data-value="2026-10-16T17:08:45+00:00" > 10/16/26, 17:08 </span>
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 96783 <span data-processor="relativetime" data-value="2026-10-17T12:28:59+00:00" > 10/17/26, 12:28 </span>
-
Sybille Peters commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-10-17T12:35:14+00:00" > 10/17/26, 12:35 </span> -
Benni Mack changed Related to #110498 <span data-processor="relativetime" data-value="2026-10-23T05:11:01+00:00" > 10/23/26, 05:11 </span>
-
Benni Mack changed Related to #110497 <span data-processor="relativetime" data-value="2026-10-23T05:11:05+00:00" > 10/23/26, 05:11 </span>
-
Benni Mack changed Related to #95918 <span data-processor="relativetime" data-value="2026-11-19T14:05:12+00:00" > 11/19/26, 14:05 </span>
Applied in changeset commit:c4c5e37ff8f8d7ef215a16228c47006ad844a346.