Bug #39054

Copied Content Elements incorrectly inherit language

Added by Oliver Salzburg almost 7 years ago. Updated over 1 year ago.

Status:
Accepted
Priority:
Must have
Assignee:
-
Category:
DataHandler aka TCEmain
Target version:
-
Start date:
2012-07-18
Due date:
% Done:

0%

TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
medium
Is Regression:
No
Sprint Focus:

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.


Related issues

Related to TYPO3 Core - Bug #59901: Move records in list module kills sys_language_uid New 2014-06-26
Related to TYPO3 Core - Bug #14873: CE jumps from right to normal when moved in list mode Accepted 2005-07-21
Related to TYPO3 Core - Bug #25216: Repositioning of translated CE in the list module replaces language ID New 2011-03-01
Related to TYPO3 Core - Bug #39798: Language and colpos changes on re-ordering of Content Elements Accepted 2012-08-14

History

#1 Updated by Ernesto Baschny almost 7 years ago

  • Status changed from New to Accepted
  • Target version deleted (4.7.3)
  • TYPO3 Version changed from 4.7 to 4.5

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

#2 Updated by Mathias Schreiber over 4 years ago

  • Target version set to 7.4 (Backend)
  • Is Regression set to No

#3 Updated by Susanne Moog almost 4 years ago

  • Target version changed from 7.4 (Backend) to 7.5

#4 Updated by Benni Mack almost 4 years ago

  • Target version changed from 7.5 to 7 LTS

#5 Updated by Mathias Schreiber over 3 years ago

  • Category changed from Backend User Interface to DataHandler aka TCEmain
  • Target version deleted (7 LTS)

#6 Updated by Daniel Goerz over 3 years ago

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.

#7 Updated by Oliver Hader over 1 year ago

  • Complexity set to medium

Also available in: Atom PDF