Bug #17870
Updated by Wouter Wolters almost 10 years ago
Content elements with language setting [All] (sys_language_uid = -1) are not rendered in the frontend and are not shown in the backend Web->Page view. This has been reported in several bulletin boards since about two years, but the problem still exists in version 4.1.3 To me it seems that the following modifications fixes the problem, but a core developer should have a look on it to decide wether it represents the philosophy of sys_language_uid = -1 correctly and if there are any other cases to be considered: Frontend Fix: file: typo3/sysext/cms/tslib/typo3/sysext/cms/tslib line: 6697 modified from $query.=' AND '.$conf['languageField'].' IN ('.$sys_language_content.')'; to $query.=' AND '.$conf['languageField'].' IN ('.$sys_language_content.',-1)'; Backend Fix: File: typo3/sysext/cms/layout/class.tx_cms_layout.php Line: 419 Modified from $showLanguage = $this->defLangBinding && $lP==0 ? ' AND sys_language_uid IN (0,-1)' : ' AND sys_language_uid='.$lP; to $showLanguage = $this->defLangBinding && $lP==0 ? ' AND sys_language_uid IN (0,-1)' : ' AND sys_language_uid IN ('.$lP.',-1)'; (issue imported from #M6867)