#21652"Paste after" function destroys l10n-overlay relations...
Description
L10n overlay-records (tt_content) loose the values of copyAfterDuplFields (colPos,sys_language_uid) when the paste-after function is used.
This happens due to the wrong usage of fixCopyAfterDuplFields();
The API is:
fixCopyAfterDuplFields($table,$uid,$prevUid,$update, $newData=array())
But as third parameter a pid is used – which copies wrong data into the newly created record.
Reproduce:
Create a tt_content-record with one or more l10n-overlay records. Copy the parent-records and use the paste-after function (list-module).
(issue imported from #M12710)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.