Issue Bug Closed

#39054Copied Content Elements incorrectly inherit language

Oliver Salzburg 07/18/12, 14:02 updated 09/30/26, 15:16

Description

I have copied a content element that is set to “All Languages”:

I’m now inserting the copied record after another one on another page:

The copy is now in German:

When inserting the copy after a record that is also set to “All Languages”, the behavior is different:

Now my copy is also set to “All Languages”:

Maybe I’m drawing the wrong conclusions from this one, but the behavior is unexpected to say the least.

Reviews 7

History 1627

Show 2 earlier messages
  1. Ernesto Baschny commented and changed status New Accepted target version TYPO3 Version 4.7 4.5 <span data-processor="relativetime" data-value="2012-07-18T14:49:03+00:00" > 07/18/12, 14:49 </span>

    Agreed, this indeed looks like a bug and is not expected. Thanks for reporting!

  1. Daniel Goerz commented <span data-processor="relativetime" data-value="2016-01-03T16:07:02+00:00" > 01/03/16, 16:07 </span>

    Hmm this is kind of intended since the core explicitly configured tt_content to behave like this in TCA:

    $GLOBALS['TCA']['tt_content']['ctrl']['copyAfterDuplFields'] = 'colPos,sys_language_uid';

    This configuration is resolved in DataHandler::fixCopyAfterDuplFields() which is called upon the copy-process and the header of the methods states: When er record is copied you can specify fields from the previous record which should be copied into the new one

    So it seems the behavior is indeed intended.

  2. Riccardo De Contardi commented <span data-processor="relativetime" data-value="2020-04-12T22:15:33+00:00" > 04/12/20, 22:15 </span>

    It seems that it still happens on latest master (10.4.0-dev)

  3. Gerrit Code Review pushed patch set 1 for main to change 80593 status Accepted Under Review <span data-processor="relativetime" data-value="2023-08-17T18:56:16+00:00" > 08/17/23, 18:56 </span>

  4. Astrid Haubold commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2025-05-05T10:20:07+00:00" > 05/05/25, 10:20 </span>

    Applied in changeset commit:140669d94e5dbdb2bef61195e8c0c880f1a42215.

  5. Gerrit Code Review pushed patch set 4 for main to change 89068 status Closed Under Review <span data-processor="relativetime" data-value="2026-04-22T06:55:04+00:00" > 04/22/26, 06:55 </span>