Issue Bug Closed

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

Andreas Allacher 10/30/14, 08:41 updated 10/02/18, 11:52

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

Reviews 2