Issue Bug Closed

#15339localization fails if content is moved from other language to default language

Daniel Chabrol 12/30/05, 14:19 updated 07/09/24, 12:00

Description

Hello!

I copied a page from an old site to a new one, to have some initial content. The old site uses german as default language (uid=0) and english as localization language (uid=1). The new one uses english as default language. So the copied english content shows up in the wrong language in the new system. So I moved the contests in the laguages view of the page module from right to left (into the default column).
But now the problem occurs: If you now press “copy default content elements” to localize the contents at the new site, the following error occurs:

Errors: 1: Localization failed; Source record contained a reference to an original default record (which is strange)!

If you set the content-elements l18n_parent to zero (in phpMyAdmin) it works.

You can reproduce the effect the following, shorter way:
1) Create an content element and localize it.
2) Move the localized version in the default-language column.
3) Press “copy default content elements” to localize it again.

Best regards,
Daniel

(issue imported from #M2142)

Reviews 2