Bug #39054
open
Copied Content Elements incorrectly inherit language
Added by Oliver Salzburg over 12 years ago.
Updated 3 months ago.
Category:
DataHandler aka TCEmain
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.
- 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!
- Target version set to 7.4 (Backend)
- Is Regression set to No
- Target version changed from 7.4 (Backend) to 7.5
- Target version changed from 7.5 to 7 LTS
- Category changed from Backend User Interface to DataHandler aka TCEmain
- Target version deleted (
7 LTS)
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.
- Related to Bug #83533: Copied CE elements loose language [All] added
It seems that it still happens on latest master (10.4.0-dev)
- Sprint Focus set to Stabilization Sprint
- Status changed from Accepted to Under Review
Also available in: Atom
PDF