#83533Copied CE elements loose language [All]
Description
After copying a content element with language -1 [ALL], the resulting copy will be reset to language 0 [Default].
Reviews 4
Related issues 2
Files 1
History 1522
-
Riccardo De Contardi commented and changed status
NewNeeds Feedback <span data-processor="relativetime" data-value="2019-03-10T17:06:57+00:00" > 03/10/19, 17:06 </span> -
Christian Rieke commented and changed attached multilang_test.mp4 assigned to Riccardo De Contardi priority
Should haveMust have PHP Version 7.2 <span data-processor="relativetime" data-value="2019-03-12T23:10:02+00:00" > 03/12/19, 23:10 </span>To reproduce:
0) Install the official TYPO3 bootstrap package v8.7.24.
1) Translate any page to Dansk and/or German in order to have an actual page with multiple languages.
2) On this page, create a new “Text and Media” content element. Edit the content element, and in the Language tab switch Language to [All]. Save & close the content element.
3) Back in the the main content area,
(a) Drag&Drop the new content element to another position on the same page.
(b) ALTERNATIVELY: Use the context menu to copy the new content element and paste it on the same page in another position.
4) Open the moved / copied content element and check the setting in the Language tab. The language has now been reset to “Default [0]”.
See attached video for a demonstration of steps 1) – 4). -
Riccardo De Contardi commented and changed status
Needs FeedbackNew removed the assignee <span data-processor="relativetime" data-value="2019-03-13T22:33:26+00:00" > 03/13/19, 22:33 </span>OK I have been able to reproduce it with the steps you gave me with 10.0.0-dev
1) TYPO3 with two languages (ITALIAN,default and ENGLISH (uid=1)
2) In the default language, create a page “test”; it is not necessary to translate it
3) create a content element of any type (e.g. headline) and set language = all (-1); save and closeTest 1
- In the page view, click on the element icon, select “copy” and paste it on the same page
Result: the copied CE has language=0
Test 2
- drag the “original” content element below the new created one
Result: the “original” content element now has language=0, too
-
Benni Mack changed category <span data-processor="relativetime" data-value="2019-04-10T05:48:42+00:00" > 04/10/19, 05:48 </span>
-
Andreas Kießling commented <span data-processor="relativetime" data-value="2019-05-22T14:20:39+00:00" > 05/22/19, 14:20 </span>
A client reported this error for a 8.7 setup too: when he moves elements with language all, it gets reset to language 0
The responsible code is here: https://github.com/TYPO3/TYPO3.CMS/blob/TYPO3_8-7/typo3/sysext/backend/Resources/Public/JavaScript/LayoutModule/DragDrop.js#L156
It grabs the language from the target column and sets this for the pasted elementThe code in master seems to be located here: https://github.com/TYPO3/TYPO3.CMS/blob/0c08564796ee907640896ef12f3baed708e28583/Build/Sources/TypeScript/backend/Resources/Public/TypeScript/LayoutModule/Paste.ts#L164
-
Riccardo De Contardi commented <span data-processor="relativetime" data-value="2019-10-15T00:35:18+00:00" > 10/15/19, 00:35 </span>
This is still reproducible on 10.2.0-dev
-
Susanne Moog changed Sprint Focus On Location Sprint <span data-processor="relativetime" data-value="2020-01-12T12:51:45+00:00" > 01/12/20, 12:51 </span>
-
Riccardo De Contardi changed Related to #39054 <span data-processor="relativetime" data-value="2020-04-12T22:15:30+00:00" > 04/12/20, 22:15 </span>
-
Oliver Hader changed Sprint Focus
On Location Sprint<span data-processor="relativetime" data-value="2022-11-03T09:04:19+00:00" > 11/03/22, 09:04 </span> -
Sybille Peters commented <span data-processor="relativetime" data-value="2023-01-14T20:36:55+00:00" > 01/14/23, 20:36 </span>
Could reproduce this in latest main (v12) with Riccardo’s description https://forge.typo3.org/issues/83533#note-3 (just copy a content element with sys_language_uid = -1)
-
Riccardo De Contardi commented and changed TYPO3 Version
812 PHP Version7.28.1 <span data-processor="relativetime" data-value="2024-04-09T18:49:04+00:00" > 04/09/24, 18:49 </span>I repeated the test I wrote on comment 3 on TYPO3 12.4.14 and 13.1.0-dev (latest main) and the result is different (!)
1) TYPO3 with two languages (ITALIAN,default and ENGLISH (uid=1)
2) In the default language, create a page “test”; it is not necessary to translate it
3) create a content element of any type (e.g. headline) and set language = all (-1); save and closeTest 1
- In the page view, click on the element icon, select “copy” and paste it on the same page
Result: the copied CE has language=0
Test 2
- drag the “original” content element below the new created one
Result:
Both Content elments now have language = -1 (All) !! (You have to refresh the page to see the change)
I raise the TYPO3 version to 12
-
Gerrit Code Review pushed patch set 1 for main to change 89068 status
NewUnder Review <span data-processor="relativetime" data-value="2025-04-11T16:19:43+00:00" > 04/11/25, 16:19 </span> -
Gerrit Code Review pushed patch set 2 for main to change 89068 <span data-processor="relativetime" data-value="2025-04-13T15:46:02+00:00" > 04/13/25, 15:46 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 89068 <span data-processor="relativetime" data-value="2025-04-13T16:08:21+00:00" > 04/13/25, 16:08 </span>
-
Gerrit Code Review pushed patch set 4 for main to change 88827 <span data-processor="relativetime" data-value="2025-05-04T13:00:20+00:00" > 05/04/25, 13:00 </span>
-
Gerrit Code Review pushed patch set 5 for main to change 88827 <span data-processor="relativetime" data-value="2025-05-04T13:15:19+00:00" > 05/04/25, 13:15 </span>
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 89297 <span data-processor="relativetime" data-value="2025-05-05T09:50:05+00:00" > 05/05/25, 09:50 </span>
-
Astrid Haubold commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2025-05-05T10:20:07+00:00" > 05/05/25, 10:20 </span>Applied in changeset commit:140669d94e5dbdb2bef61195e8c0c880f1a42215.
-
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2025-12-02T14:36:45+00:00" > 12/02/25, 14:36 </span> -
Gerrit Code Review pushed patch set 4 for main to change 89068 status
ClosedUnder Review <span data-processor="relativetime" data-value="2026-04-22T06:55:03+00:00" > 04/22/26, 06:55 </span> -
Benni Mack commented and changed status
Under ReviewClosed <span data-processor="relativetime" data-value="2026-09-30T15:15:48+00:00" > 09/30/26, 15:15 </span>Fixed.
-
Benni Mack changed Related to #110864 <span data-processor="relativetime" data-value="2026-09-30T15:20:02+00:00" > 09/30/26, 15:20 </span>
Hello and sorry for the late answer.
I tried to reproduce this issue on 8.7.24, 9.5.5 and 10.0.0-dev (Latest master) in this way
1) TYPO3 with two languages (ITALIAN,default and ENGLISH (uid=1)
2) Create a sysfolder “Test” and translate it
3) create a “category” record named “test” and set its language as “all” (-1)
4) in list view, use the context menu (or the button) to copy it
5) paste it in the same folder
Results
the copy still has language=all – on 9.5.5 I also tried the same test with the EXT:news and a news record and the result is the same.
Do you think that this issue has been solved or is there a different test I should perform?
Thank you.