Issue Task Under Review

#108358Display warning for orphaned CEs when l10n_parent refers to a record with sys_language_uid = -1

Eric Harrer 11/28/25, 12:16 updated 11/11/26, 10:33

Description

When a default language record that has translations is switched to “All Languages” (sys_language_uid = -1), its translated records remain in the database but lose a valid parent reference.

Since records with sys_language_uid = -1 cannot serve as translation parents, the related translations become orphaned. TYPO3 currently does not warn about this inconsistent state, and the language “All” record is shown instead of the translation in the frontend.

TYPO3 should detect and mark such orphaned translations with a clear warning, similar to how mixed-mode inconsistencies are highlighted when l10n_parent is invalid.

Steps to reproduce:

  1. Create a content element in the default language.
  2. Translate it into another language.
  3. Change the default record’s sys_language_uid to -1 (“All Languages”).
  4. The translation remains in the database but references an invalid l10n_parent.

Expected result:
TYPO3 should display a backend warning or visual indicator for these orphaned translation records, as their parent is no longer valid.

Reviews 1

History 413