#87851Copy of localized object has wrong l18n_parent
Description
If you copy a translated element and paste it in to the same or another site, the field l18n_parent (or in extensions l10n_parent) is filled with the value of the original object (before_paste.png).
So the new copy is not shown in the backend (after_paste.png). This means that it can’t be deleted by an editor.
The copy exists only in the database (database_lookup.png).
In TYPO3 8 and lower you the option mod.web_list.enableLocalizationView can be set, which prevents the user from copying localized records.
Unfortunately, this option has been removed/does not work in TYPO3 9LTS.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Files 3
History 4
-
Susanne Moog changed category 03/11/19, 21:19
-
Riccardo De Contardi commented 04/06/20, 12:05
-
Riccardo De Contardi commented and changed status
NewNeeds Feedback 04/10/21, 21:30I think that this issue has been solved;
I tried the following test with both 10.4.14 and 11.2.0-dev (latest master)
Prerequisites
- TYPO3 with two languages defined: Italian(0) and English (1)
- A page “ test 1 “ in both languages
- A page “ Test 2 “ in both languages
- Install Tool > Settings > Configuration Presets > Debug settings: DebugTest procedure
1) Page “ test 1 “ > Page view > language: Italian > create a new content element AAAAA (ID=17)
2) Translate it (Connected mode) > [Translate to English:] AAAAA (ID=18)
2.1) If you edit the [Translate to English:] AAAAA (ID=18) record > Tab language > you will see that Transl.Orig[l18n_parent] is “AAAAA [ID=17]”3) Page “ test 1 “ > list view > on the AAAAA record, press the “Copy” button
4) Go to page Test 2 > list view > press the “Paste” button on the top barResults
1) The “Page content” table is filled with two new records:
- AAAAA (ID=19)
- [Translate to English:] AAAAA (ID=20)
2) the record AAAAA (ID=19) is in italian
3) the record [Translate to English:] AAAAA (ID=20) is in english, _and its parent is AAAAA (ID=19)!_
3.1) If you edit the [Translate to English:] AAAAA (ID=20) record > Tab language > you will see that Transl.Orig[l18n_parent] is “AAAAA [ID=19]”Is this test sufficient? A different test should be performed? Am I missing something?
-
Christian Kuhn commented and changed status
Needs FeedbackClosed 02/19/22, 13:34hey. it seems as if this has been resolved meanwhile. i’ll take the freedom to close the issue for now. if the problem still exists, let’s start with a fresh issue.
Still reproducible with 10.4.0-dev (latest master)