Bug #60357
closedPasting a localized content element into another colPos fails
100%
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
Updated by Riccardo De Contardi over 9 years ago
- Status changed from New to Needs Feedback
- Assignee changed from TYPO3 Release Team to Frank Gerards
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
Updated by Daniel Goerz about 9 years ago
- Subject changed from Pasting a localized content element into empty column fails to Pasting a localized content element into another colPos fails
- Status changed from Needs Feedback to New
- Target version set to 7 LTS
- TYPO3 Version changed from 6.2 to 7
Confirmed on 7.6-dev.
The translation of the copied content element is on the correct page but in the wrong colPos.
Updated by Daniel Goerz about 9 years ago
- Assignee deleted (
Frank Gerards) - PHP Version changed from 5.4 to 5.5
- Sprint Focus set to Stabilization Sprint
Updated by Oliver Hader about 9 years ago
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())
Updated by Riccardo De Contardi almost 9 years ago
- Target version changed from 7 LTS to Candidate for Major Version
Updated by Riccardo De Contardi over 6 years ago
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 2
Results:¶
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.
Updated by Riccardo De Contardi about 5 years ago
This issue still occurs on 10.2.0-dev (latest master); the behavior is the same described on my comment 7
Updated by Julian Mair about 3 years ago
I can confirm this bug in Typo3 10.4.21 - is there anything we can do?
Updated by Benni Mack 4 months ago
- Status changed from New to Needs Feedback
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?
Updated by Riccardo De Contardi 3 months ago
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)
Updated by Gerrit Code Review 2 months ago
- Status changed from Needs Feedback to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85978
Updated by Gerrit Code Review 2 months ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85978
Updated by Gerrit Code Review 2 months ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85978
Updated by Gerrit Code Review 2 months ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85978
Updated by Gerrit Code Review 2 months ago
Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85978
Updated by Gerrit Code Review 2 months ago
Patch set 6 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85978
Updated by Gerrit Code Review 2 months ago
Patch set 7 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85978
Updated by Gerrit Code Review 2 months ago
Patch set 8 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85978
Updated by Gerrit Code Review 2 months ago
Patch set 9 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85978
Updated by Gerrit Code Review 2 months ago
Patch set 10 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85978
Updated by Gerrit Code Review 2 months ago
Patch set 11 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85978
Updated by Gerrit Code Review 2 months ago
Patch set 12 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85978
Updated by Gerrit Code Review 2 months ago
Patch set 13 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85978
Updated by Gerrit Code Review 2 months ago
Patch set 14 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85978
Updated by Gerrit Code Review 2 months ago
Patch set 15 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85978
Updated by Anonymous 2 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset f9d64b006d6897d0154c349e485ba4bee3db256d.
Updated by Jochen Roth 2 months ago
- Related to Bug #88210: Changing colPos of content elements in "additional languages" fails when using Workspaces added