Bug #63684

sys_language_uid and sys_language_content are always the same

Added by Karsten Nowak (undkonsorten) 8 months ago. Updated 19 days ago.

Status:New Start date:2014-12-08
Priority:Should have Due date:
Assigned To:- % Done:

0%

Category:- Spent time: -
Target version:-
TYPO3 Version:6.2 Is Regression:No
PHP Version:5.5 Sprint Focus:
Complexity:

Description

I'm trying to use content_fallback on a page with 3 languages. The lang uid's are 0,1 and 2.

The requested page exists in all languages. The content is only available in langUid 0 and langUid 1. Not in langUid 2.

My TS setup:

sys_language_mode = content_fallback:1,0
sys_language_overlay is not set.

On "Frontend Localization Guide" it says for "content_fallback : 1,0" the following:

If sys_language_uid(set by &L) = 2 then

TSFE->sys_language_uid = 2
TSFE->sys_language_content = 1

But on my site TSFE->sys_language_content is 2. Whatever i try in content_fallback (0 or 1) the TSFE->sys_language_content is never the fallback language uid. Every time the same like the sys_language_uid.

I tested this in TYPO3 6.2.6 and 6.2.8.

PHP is 5.5.18


Related issues

related to Core - Bug #48673: Changed language overlay behaviour in TYPO3 6.* Accepted 2013-05-30

Also available in: Atom PDF