Issue Bug Under Review

#109624Copying content with translation(s) to free-mode target language creates same-language l18n_parent relation

Eric Harrer 04/17/26, 11:11 updated 11/12/26, 21:23

Description

Description

When a tt_content record from the default language is copied into a non-default target language that is already handled in free mode, TYPO3 can create more than the intended target-language record.

In the observed scenario, TYPO3 creates:
  • a copy of the default-language source record in the target language
  • an additional copy of an existing translation of that source record in the same target language

The copied translation then receives an l18n_parent relation to the other newly created record, although both records already belong to the same target language. This immediately creates a mixed-mode state in the target language.

This issue is about the copy workflow that creates content in a non-default free-mode language. In that workflow, existing translations of the source record should not be copied at all.

Steps to reproduce

  1. Create a page with a default-language tt_content record.
  2. Create at least one existing translation of that record in another non-default language.
  3. Ensure that the target language is already handled in free mode on that page.
  4. Copy the default-language content element into that non-default target language using the backend page module workflow.
  5. Inspect the created records in the backend and in the database.

Actual behavior

  • A copy of the default-language source record is created in the target language.
  • An additional copy of an existing translation is also created in the same target language.
  • The copied translation receives an l18n_parent relation to the other newly created target-language record.
  • The target language immediately switches to mixed mode.

Expected behavior

  • Only one target-language copy should be created: the intended free-mode copy of the default-language source record.
  • Existing translations of the source record should be ignored during this operation.
  • No same-language l18n_parent relation must be created.

Impact / rationale

The resulting state is inconsistent and editorially unexpected.

This workflow explicitly creates content in a non-default language in free mode. Copying already existing translations of the source record into that same target language does not make sense in this scenario and can introduce immediate mixed-mode behavior.

Related issues / patches

  • #103828 / 84237 prevents orphaned copied translations when the target page does not have the corresponding page translation.
  • #93744 / 92580 restricts copied translations to target site languages.
  • #108925 / 92777 is a closely related issue in the area of copying free-mode records to unsupported languages.

Reviews 1

Files 1

History 511