Bug #24958
closed
BE forms: language selector show superfluous records
Added by Thorsten Kahler over 13 years ago.
Updated almost 7 years ago.
Category:
Backend User Interface
Description
The language selector in the top of BE forms is intended to show (and switch between) all translations of a certain record.
If there are records in non-default languages, that are not bound to a record in the default language, they are shown as different translations of each other.
1) Create two records of the same kind (tt_content, tt_news, ...) on the same page and associate them to different languages.
2) Open one of them in the edit form.
3) Selecting the other language in the language select box at the top will open the absolutely unrelated other record.
The reason is that it's not checked in SC_alt_doc::languageSwitch() if there's any value set in $transOrigPointerField (usually: l18n_parent) at all.
(issue imported from #M17486)
Files
- Target version deleted (
4.4.7)
Patch set 4 of change Iec7ee3dffbeab2e1fce45cd96c17ceffcc75f7aa has been pushed to the review server.
It is available at http://review.typo3.org/1141
- Category set to Backend User Interface
- Status changed from Accepted to Under Review
- % Done changed from 0 to 50
Thorsten, could you provide some instructions on how to reproduce this? I tried with creating two languages, creating a record in one language and then localizing it by using the language dropdown in the top bar of TCEforms. This didn't work - I don't know why, maybe a bug in TCEforms/TCEmain. Maybe I did something wrong, I'm not that much into this whole localization stuff.
Andreas Wolf wrote:
[...] and then localizing it by using the language dropdown in the top bar of TCEforms.
This bug shows up when you have non-related records! So don't create the second record by translating the first but by adding a new record in a different language.
PS: Seems you found another bug :-/
Patch set 5 of change Iec7ee3dffbeab2e1fce45cd96c17ceffcc75f7aa has been pushed to the review server.
It is available at http://review.typo3.org/1141
Patch set 1 of change Iec7ee3dffbeab2e1fce45cd96c17ceffcc75f7aa has been pushed to the review server.
It is available at http://review.typo3.org/2532
Patch set 1 of change I6292578a2e4b3807cb333ff85a6d6309b7d4c754 has been pushed to the review server.
It is available at http://review.typo3.org/2533
Patch set 2 of change I6292578a2e4b3807cb333ff85a6d6309b7d4c754 has been pushed to the review server.
It is available at http://review.typo3.org/2533
- Status changed from Under Review to Resolved
- % Done changed from 50 to 100
- Target version set to 4.5.4
Do we really need to add this to 4.4/4.3? AFAIK these are not supported reg. bug fixes anymore.
- Status changed from Resolved to Closed
Also available in: Atom
PDF