Bug #24958
closedBE forms: language selector show superfluous records
100%
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
Updated by Mr. Hudson over 13 years ago
Patch set 4 of change Iec7ee3dffbeab2e1fce45cd96c17ceffcc75f7aa has been pushed to the review server.
It is available at http://review.typo3.org/1141
Updated by Thorsten Kahler over 13 years ago
- Category set to Backend User Interface
- Status changed from Accepted to Under Review
- % Done changed from 0 to 50
Updated by Andreas Wolf over 13 years ago
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.
Updated by Thorsten Kahler over 13 years ago
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 :-/
Updated by Mr. Hudson over 13 years ago
Patch set 5 of change Iec7ee3dffbeab2e1fce45cd96c17ceffcc75f7aa has been pushed to the review server.
It is available at http://review.typo3.org/1141
Updated by Mr. Hudson over 13 years ago
Patch set 1 of change Iec7ee3dffbeab2e1fce45cd96c17ceffcc75f7aa has been pushed to the review server.
It is available at http://review.typo3.org/2532
Updated by Mr. Hudson over 13 years ago
Patch set 1 of change I6292578a2e4b3807cb333ff85a6d6309b7d4c754 has been pushed to the review server.
It is available at http://review.typo3.org/2533
Updated by Mr. Hudson over 13 years ago
Patch set 2 of change I6292578a2e4b3807cb333ff85a6d6309b7d4c754 has been pushed to the review server.
It is available at http://review.typo3.org/2533
Updated by Thorsten Kahler over 13 years ago
- Status changed from Under Review to Resolved
- % Done changed from 50 to 100
Applied in changeset 45a6de10c47a19dd094a98d0d65848075115fef4.
Updated by Andreas Wolf over 13 years ago
- 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.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed