Bug #25216
closedRepositioning of translated CE in the list module replaces language ID
100%
Description
In the list module you can click on the "re-position" icon to get into the "Move element" mode. There you see a structured overview of existing elements and their respective columns.
The problem is, that moving translated elements won't work, since the elements visible in this view are the default elements only. So when you position the element after or before on of these or put it into an empty column, the sys_language_uid of the element will be removed and it will show up in the default language.
(issue imported from #M17816)
Updated by Alexander Opitz over 10 years ago
- Status changed from New to Needs Feedback
- Target version deleted (
0) - Is Regression set to No
Hi,
as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (6.2.3)?
Updated by Jo Hasenau over 10 years ago
Yes - behaviour is exactly as described.
Updated by Alexander Opitz over 10 years ago
- Category set to Backend User Interface
- Status changed from Needs Feedback to New
Updated by Riccardo De Contardi over 9 years ago
- Status changed from New to Needs Feedback
Hi Jo, I have performed the following test on both 6.2.14 and 7.5-dev (latest master):
1) Enviroment
1.1) I have a backend layout like this for all 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 } } } } }
1.2) Default language: italian;
Add a language (ID=1), english
1.3) TS setup:
config.linkVars = L config.uniqueLinkVars = 1 config.sys_language_overlay = content_fallback config.language = it config.locale_all = it_IT config.htmlTag_langKey = it-IT config.sys_language_uid = 0 [globalVar = GP:L = 1] config.language = en config.locale_all = en_EN config.htmlTag_langKey = en-EN config.sys_language_uid = 1 [global]
1.4) TS config Home page:
mod.SHARED { defaultLanguageFlag = it defaultLanguageLabel = Italian }
2) test execution:
2.1) Create a page (Title: "My page 3") and translate it in english ("My page 3 ENG")
Page Module > (I am on Default language) > my page col (colPos=0), create a new content element, text (title: "Bugtest 25216")
Page Module > switch to Languages mode > copy default content element in english (the content is still in colPos=0) (title "[Translate to English:] Bugtest 25216")
List module > "[Translate to English:] Bugtest 25216" > click on the icon "re-position content element" > move to "my other col " (colPos=2)
3) Result:
when I switch back to page module, the translated content element is in colPos=2 and still in english, so I think the issue is solved.
Do you think it is sufficient to consider it closed, or should I perform further tests? Thank you!
Updated by Jo Hasenau about 9 years ago
The problem is not about moving records to another column, but about moving records to a position between two other records. And it is still there in 7 LTS.
Since the visible records are always in the default language, the "move after" action does exactly the same stuff that happens when you sort with the up and down arrows in the list module.
Reason: copyAfterDuplFields contains sys_language_uid
I will set some related issues to clarify the problem.
Updated by Riccardo De Contardi about 9 years ago
- Status changed from Needs Feedback to New
Updated by Riccardo De Contardi over 6 years ago
- Related to Bug #72988: losing Localization when moving elements (Typo 7.6.2) added
Updated by Mona Muzaffar over 5 years ago
- Related to Bug #87148: sys_language_uid is set to default when moving CEs via drag'n'drop added
Updated by Gerrit Code Review over 4 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63646
Updated by Gerrit Code Review over 4 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63646
Updated by Gerrit Code Review over 4 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63646
Updated by Gerrit Code Review over 4 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63646
Updated by Gerrit Code Review over 4 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63646
Updated by Gerrit Code Review over 4 years ago
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/64137
Updated by Christian Eßl over 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset acff9da490244cd405a4ae12eb7f034a3b39cfb6.