[TYPO3-core] RFC #17486: Language selector in BE forms shows erroneously connected records

Thorsten Kahler thorsten.kahler at dkd.de
Sat Feb 26 01:10:04 CET 2011


Hi,

this is a SVN patch request.

Type: Bugfix

Branches: trunk, 4.5, 4.4, 4.3

BT reference: <http://bugs.typo3.org/view.php?id=17486>

Problem:
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.

Solution:
Check whether the $transOrigPointerField points to another record or not.

Steps to reproduce:
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.


Cheers
Thorsten

-- 

Thorsten Kahler
thorsten.kahler at dkd.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 17486_trunk.patch
Type: text/x-patch
Size: 2499 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110226/cdac9c0d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 17486_4-5.patch
Type: text/x-patch
Size: 2499 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110226/cdac9c0d/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 17486_4-4.patch
Type: text/x-patch
Size: 4841 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110226/cdac9c0d/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 17486_4-3.patch
Type: text/x-patch
Size: 1956 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110226/cdac9c0d/attachment-0003.bin>


More information about the TYPO3-team-core mailing list