#60357Pasting a localized content element into another colPos fails
Description
Hi,
in TYPO3 6.2.3 , pasting a localized content element into an empty column fails.
The default language CE record is inserted correctly into the new column, the localized isnt.
Cause of the error could be:
- When pasting into an empty column with different uid than source column the default language’s CE colPos is set correctly,
the translated CE records’ colPos remains the OLD colPos of the source-column.
Steps to reproduce:
- Copy localized CE from an existing column
- Go to other page with different backend layout/different columns
- Paste localized CE into an EMPTY column
Reviews 8
- main 97536[TASK] Cover moving connected translations to another column
- main 94321[!!!][TASK] Remove v13 upgrade wizards
- 13.4 94323[DOCS] Add changelog entry for CType/colPos locked on translations
- 14.3 94322[DOCS] Add changelog entry for CType/colPos locked on translations
- main 93853[DOCS] Add changelog entry for CType/colPos locked on translations
- main 93855[TASK] Improve upgrade wizard and add changelog for CType/colPos translation lock
- main 93856[DOCS] Add changelog and improve wizard for #60357
- main 85978[TASK] Disable custom colPos and CType for translations
Related issues 4
- Bug #88210Changing colPos of content elements in "additional languages" fails when using Workspaces
- Task #109717[TASK] Improve upgrade wizard and add changelog for CType/colPos translation lock
- Task #109718[TASK] Improve upgrade wizard and add changelog for CType/colPos tran…
- Task #110002Remove v13 upgrade wizards
History 1840
Show 1115 earlier messages
-
Frank Gerards changed assigned to TYPO3 Release Team <span data-processor="relativetime" data-value="2014-07-17T14:09:37+00:00" > 07/17/14, 14:09 </span>
-
Riccardo De Contardi commented and changed status
NewNeeds Feedback assigned to Frank Gerards <span data-processor="relativetime" data-value="2015-07-10T10:00:48+00:00" > 07/10/15, 10:00 </span> -
Daniel Goerz commented and changed subject
Pasting a localized content element into empty column failsPasting a localized content element into another colPos fails statusNeeds FeedbackNew target version TYPO3 Version6.27 <span data-processor="relativetime" data-value="2015-10-10T23:55:53+00:00" > 10/10/15, 23:55 </span>Confirmed on 7.6-dev.
The translation of the copied content element is on the correct page but in the wrong colPos.
-
Daniel Goerz changed removed the assignee PHP Version
5.45.5 Sprint Focus Stabilization Sprint <span data-processor="relativetime" data-value="2015-10-11T22:55:36+00:00" > 10/11/15, 22:55 </span> -
Oliver Hader commented <span data-processor="relativetime" data-value="2015-11-03T18:40:54+00:00" > 11/03/15, 18:40 </span>
Let me create some functional tests first to ensure DataHandler is working correctly. If so, the issue might be related to wrong/incomplete command-map data being transferred (search for ‘paste’ in DataHandler::process_cmdmap())
-
Riccardo De Contardi changed target version <span data-processor="relativetime" data-value="2016-01-03T12:10:02+00:00" > 01/03/16, 12:10 </span>
-
Riccardo De Contardi commented <span data-processor="relativetime" data-value="2018-04-10T22:39:12+00:00" > 04/10/18, 22:39 </span>
I probably did something wrong years ago… I repeated the test with TYPO3 8.7.12
1) Page AAAA with colPos 0,1 in two languages
2) Page BBBB with colPos 0,2 in two languages
3) Create a CE in AAAA on colPos 1 and translate it (connected mode)
4) cut the content element and paste it into BBBB, in colPos 2Results:
the CE in default language is correctly placed; its translated counterpart disappears from page view, because it still has colPos=1 (which is invalid on the new page) and it can be “rescued” via list view.
The same problem occurs on TYPO3 9.2.0-dev, but here the problem is mitigated, because TYPO3 warns you that there are unused content elements in the page, and show them with yellow/orange titlebar.
-
Riccardo De Contardi commented <span data-processor="relativetime" data-value="2019-11-12T22:26:38+00:00" > 11/12/19, 22:26 </span>
This issue still occurs on 10.2.0-dev (latest master); the behavior is the same described on my comment 7
-
Julian Mair commented <span data-processor="relativetime" data-value="2021-11-18T15:07:12+00:00" > 11/18/21, 15:07 </span>
I can confirm this bug in Typo3 10.4.21 – is there anything we can do?
-
Benni Mack commented and changed status
NewNeeds Feedback <span data-processor="relativetime" data-value="2024-08-06T15:28:33+00:00" > 08/06/24, 15:28 </span>IMHO this is correct. If you have a localized CE, then the parent actually needs to be copied / cut / pasted. So, I wonder – in your original use-case – what should happen to the original record if you move/copy the localized CE?
-
Riccardo De Contardi commented <span data-processor="relativetime" data-value="2024-08-17T16:07:56+00:00" > 08/17/24, 16:07 </span>
I guess that the ColPos should be inherited from the default language – right now you can have an element with a ColPos on the default language and the translated element ( on connected mode ) with another colpos (the translated one can be edited)
-
Gerrit Code Review pushed patch set 1 for main to change 85978 status
Needs FeedbackUnder Review <span data-processor="relativetime" data-value="2024-09-10T10:04:50+00:00" > 09/10/24, 10:04 </span> -
Gerrit Code Review pushed patch set 2 for main to change 85978 <span data-processor="relativetime" data-value="2024-09-10T10:12:32+00:00" > 09/10/24, 10:12 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 85978 <span data-processor="relativetime" data-value="2024-09-10T10:14:08+00:00" > 09/10/24, 10:14 </span>
-
Gerrit Code Review pushed patch set 4 for main to change 85978 <span data-processor="relativetime" data-value="2024-09-10T10:15:24+00:00" > 09/10/24, 10:15 </span>
-
Gerrit Code Review pushed patch set 5 for main to change 85978 <span data-processor="relativetime" data-value="2024-09-10T10:38:58+00:00" > 09/10/24, 10:38 </span>
-
Gerrit Code Review pushed patch set 6 for main to change 85978 <span data-processor="relativetime" data-value="2024-09-10T11:09:46+00:00" > 09/10/24, 11:09 </span>
-
Gerrit Code Review pushed patch set 7 for main to change 85978 <span data-processor="relativetime" data-value="2024-09-10T12:51:40+00:00" > 09/10/24, 12:51 </span>
-
Gerrit Code Review pushed patch set 8 for main to change 85978 <span data-processor="relativetime" data-value="2024-09-10T13:28:00+00:00" > 09/10/24, 13:28 </span>
-
Gerrit Code Review pushed patch set 9 for main to change 85978 <span data-processor="relativetime" data-value="2024-09-10T15:09:06+00:00" > 09/10/24, 15:09 </span>
-
Gerrit Code Review pushed patch set 10 for main to change 85978 <span data-processor="relativetime" data-value="2024-09-10T15:50:53+00:00" > 09/10/24, 15:50 </span>
-
Gerrit Code Review pushed patch set 11 for main to change 85978 <span data-processor="relativetime" data-value="2024-09-10T20:12:00+00:00" > 09/10/24, 20:12 </span>
-
Gerrit Code Review pushed patch set 12 for main to change 85978 <span data-processor="relativetime" data-value="2024-09-10T20:46:43+00:00" > 09/10/24, 20:46 </span>
-
Gerrit Code Review pushed patch set 13 for main to change 85978 <span data-processor="relativetime" data-value="2024-09-11T06:08:23+00:00" > 09/11/24, 06:08 </span>
-
Gerrit Code Review pushed patch set 14 for main to change 85978 <span data-processor="relativetime" data-value="2024-09-11T09:05:04+00:00" > 09/11/24, 09:05 </span>
-
Gerrit Code Review pushed patch set 15 for main to change 85978 <span data-processor="relativetime" data-value="2024-09-11T09:45:37+00:00" > 09/11/24, 09:45 </span>
-
Anonymous commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2024-09-11T10:30:08+00:00" > 09/11/24, 10:30 </span>Applied in changeset commit:f9d64b006d6897d0154c349e485ba4bee3db256d.
-
Jochen Roth changed Related to #88210 <span data-processor="relativetime" data-value="2024-09-17T11:42:16+00:00" > 09/17/24, 11:42 </span>
-
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2024-10-15T09:30:25+00:00" > 10/15/24, 09:30 </span> -
Gerrit Code Review pushed patch set 1 for main to change 93853 status
ClosedUnder Review <span data-processor="relativetime" data-value="2026-04-27T12:53:30+00:00" > 04/27/26, 12:53 </span> -
Gerrit Code Review pushed patch set 2 for main to change 93853 <span data-processor="relativetime" data-value="2026-04-27T12:57:08+00:00" > 04/27/26, 12:57 </span>
-
Garvin Hicking changed Related to #109717 <span data-processor="relativetime" data-value="2026-04-27T14:05:38+00:00" > 04/27/26, 14:05 </span>
-
Garvin Hicking changed Related to #109718 <span data-processor="relativetime" data-value="2026-04-27T14:06:32+00:00" > 04/27/26, 14:06 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 93855 <span data-processor="relativetime" data-value="2026-04-27T14:45:37+00:00" > 04/27/26, 14:45 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 93856 <span data-processor="relativetime" data-value="2026-04-27T14:46:16+00:00" > 04/27/26, 14:46 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 93853 <span data-processor="relativetime" data-value="2026-04-27T15:09:06+00:00" > 04/27/26, 15:09 </span>
-
Gerrit Code Review pushed patch set 4 for main to change 93853 <span data-processor="relativetime" data-value="2026-04-28T14:57:00+00:00" > 04/28/26, 14:57 </span>
-
Gerrit Code Review pushed patch set 5 for main to change 93853 <span data-processor="relativetime" data-value="2026-04-29T05:46:54+00:00" > 04/29/26, 05:46 </span>
-
Christian Kuhn changed Related to #110002 <span data-processor="relativetime" data-value="2026-06-04T17:07:30+00:00" > 06/04/26, 17:07 </span>
-
Christian Kuhn changed status
Under ReviewResolved <span data-processor="relativetime" data-value="2026-06-04T17:08:40+00:00" > 06/04/26, 17:08 </span>
this is my test, done with 6.2.14:
1) be layout for home page:
backend_layout { colCount = 2 rowCount = 1 rows { 1 { columns { 1 { name = Main content colPos = 0 } 2 { name = Side Content colPos = 1 } } } } }2) be layout for all other pages:
backend_layout { colCount = 1 rowCount = 2 rows { 1 { columns { 1 { name = my page col colPos = 0 } } } 2 { columns { 1 { name = my other col colPos = 2 } } }as you can see it has a different column with colpos=2, while home has colpos=1
3) default language:italian; add Website language: english (ID=1)
4) Home page > Side Content > create a text with image element (header:“prova contenuto per 60357” ID=70)
5) Home page > switch to view “languages” > translate the CE (header:”[Translate to English:] prova contenuto per 60357”, ID=71)
6) Home page > list view > copy “[Translate to English:] prova contenuto per 60357”
7) go to another page > page module > paste into “my other col” (resulting copy has ID=74)
8) Result: the CE is in the correct column; editing the element the Column (colpos) is “my other col”
Do you think it is sufficient to consider it closed, or should I perform more tests?
Thank you