Project

General

Profile

Actions

Bug #24958

closed

BE forms: language selector show superfluous records

Added by Thorsten Kahler over 13 years ago. Updated almost 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

Also available in: Atom PDF