Important: #110864 - Copying records no longer inherits their language
See forge#110864
Description
The TCA setting copy of the table tt_ no
longer contains the field sys_. It now only contains
col.
Previously, copying a content element and pasting it after another record
copied the language of that preceding record onto the new element. A content
element set to "All languages" (-1) turned into a German element when it
was pasted after a German one, and vice versa.
The following rule applies to
\TYPO3\
when copying records:
- A copy keeps the language of the record it was created from.
- The language of a copy is only changed when the caller says so
explicitly, for example by passing a language in the update data of a
paste command, or by using the dedicated localization commands
localizeandcopy.To Language - The language is never derived from the position the record is pasted to.
The Backend already follows this rule: the page module sends the language of the target column explicitly when pasting.
Extensions that need the previous behavior for their own tables can keep
listing sys_ in their own copy
setting. For tt_, it has to be passed explicitly in the
update data of the copy command.