Project

General

Profile

Actions

Bug #24958

closed

BE forms: language selector show superfluous records

Added by Thorsten Kahler almost 14 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Category:
Backend User Interface
Target version:
Start date:
2011-02-04
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

17486_4-4.patch (4.73 KB) 17486_4-4.patch Administrator Admin, 2011-02-26 00:17
17486_4-3.patch (1.91 KB) 17486_4-3.patch Administrator Admin, 2011-02-26 00:18
17486_4-5.patch (2.44 KB) 17486_4-5.patch Administrator Admin, 2011-02-26 00:20
17486_trunk.patch (2.44 KB) 17486_trunk.patch Administrator Admin, 2011-02-26 00:22
Actions #1

Updated by Susanne Moog over 13 years ago

  • Target version deleted (4.4.7)
Actions #2

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

Actions #3

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
Actions #4

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.

Actions #5

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 :-/

Actions #6

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

Actions #7

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

Actions #8

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

Actions #9

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

Actions #10

Updated by Thorsten Kahler over 13 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 50 to 100
Actions #11

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.

Actions #12

Updated by Georg Ringer over 13 years ago

IMO no need for it.

Actions #13

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF