Project

General

Profile

Actions

Bug #62550

closed

activated defLangBinding: Content Elements that exist only in translation are not displayed at all

Added by Andreas Allacher over 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2014-10-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

With activated defLangBinding setting content elements that only exist in the translation are not displayed at all.

The problem seems to be
if (!$lP && ($this->defLangBinding || $row['sys_language_uid'] != -1)) {

and
$defLangBinding[$key][$lP][$row[$lP ? 'l18n_parent' : 'uid']] = $singleElementHTML;

Instead of checking regarding language "$lP", it would be better to check if the l18n_parent is set for the corresponding row.

Of course, one also needs to modify getNonTranslatedTTcontentUids method accordingly


Files

01-default.png (12.9 KB) 01-default.png Default view (translated content shown) Mathias Brodala, 2018-05-25 09:23
02-defLangBinding.png (12 KB) 02-defLangBinding.png View with defLangBinding activated (translated content invisible) Mathias Brodala, 2018-05-25 09:23
03-defLangBinding-patched.png (12.2 KB) 03-defLangBinding-patched.png View with defLangBinding activated and patch applied (translated content still invisible) Mathias Brodala, 2018-05-25 09:23

Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #81753: Content element translations dissapear in page module after move to another columnNew2017-06-30

Actions
Actions

Also available in: Atom PDF