Project

General

Profile

Actions

Bug #39054

open

Copied Content Elements incorrectly inherit language

Added by Oliver Salzburg over 12 years ago. Updated 3 months ago.

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

0%

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

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 5 (1 open4 closed)

Related to TYPO3 Core - Bug #59901: Move records in list module kills sys_language_uidClosed2014-06-26

Actions
Related to TYPO3 Core - Bug #14873: CE jumps from right to normal when moved in list modeClosed2005-07-21

Actions
Related to TYPO3 Core - Bug #25216: Repositioning of translated CE in the list module replaces language IDClosedJo Hasenau2011-03-01

Actions
Related to TYPO3 Core - Bug #39798: Language and colpos changes on re-ordering of Content ElementsClosed2012-08-14

Actions
Related to TYPO3 Core - Bug #83533: Copied CE elements loose language [All]New2018-01-10

Actions
Actions #1

Updated by Ernesto Baschny over 12 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!

Actions #2

Updated by Mathias Schreiber almost 10 years ago

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

Updated by Susanne Moog over 9 years ago

  • Target version changed from 7.4 (Backend) to 7.5
Actions #4

Updated by Benni Mack about 9 years ago

  • Target version changed from 7.5 to 7 LTS
Actions #5

Updated by Mathias Schreiber about 9 years ago

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

Updated by Daniel Goerz almost 9 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.

Actions #7

Updated by Oliver Hader about 7 years ago

  • Complexity set to medium
Actions #8

Updated by Riccardo De Contardi over 4 years ago

  • Related to Bug #83533: Copied CE elements loose language [All] added
Actions #9

Updated by Riccardo De Contardi over 4 years ago

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

Actions #10

Updated by Benni Mack over 1 year ago

  • Sprint Focus set to Stabilization Sprint
Actions #11

Updated by Gerrit Code Review over 1 year ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80593

Actions #12

Updated by Gerrit Code Review over 1 year ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80593

Actions #13

Updated by Gerrit Code Review over 1 year ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80593

Actions #14

Updated by Gerrit Code Review 3 months ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80593

Actions

Also available in: Atom PDF