Bug #72190
closedconfig.sys_language_mode=ignore is ignored
0%
Description
After an upgrade from 6.2 to 7.6 I found out that config.sys_language_mode=ignore seems to be ignored. In my installtion sys_language_mode is complety ignored for some reasons.
For further investigations I will post the same SELECT taken out from admpanel.
SELECT from 6.2 working properly
SELECT * FROM tt_content WHERE tt_content.pid IN (129) AND colPos = 70 AND header_layout = 120 AND tt_content.deleted=0 AND tt_content.t3ver_state<=0 AND tt_content.pid<>-1 AND tt_content.hidden=0 AND tt_content.starttime<=1449854220 AND (tt_content.endtime=0 OR tt_content.endtime>1449854220) AND (tt_content.fe_group='' OR tt_content.fe_group IS NULL OR tt_content.fe_group='0' OR FIND_IN_SET('0',tt_content.fe_group) OR FIND_IN_SET('-1',tt_content.fe_group))
SELECT in 7.6 not working
SELECT * FROM tt_content WHERE tt_content.pid IN (129) AND colPos = 70 AND (tt_content.sys_language_uid = 0) AND header_layout = 120 AND tt_content.deleted=0 AND tt_content.t3ver_state<=0 AND tt_content.pid<>-1 AND tt_content.hidden=0 AND tt_content.starttime<=1449858780 AND (tt_content.endtime=0 OR tt_content.endtime>1449858780) AND (tt_content.fe_group='' OR tt_content.fe_group IS NULL OR tt_content.fe_group='0' OR FIND_IN_SET('0',tt_content.fe_group) OR FIND_IN_SET('-1',tt_content.fe_group))"
config.sys_language_mode is not working as expected because AND (tt_content.sys_language_uid = 0) appears inside the select which is not correct (imho.)
config.sys_language_mode = ignore should remove any existens of tt_content.sys_language_uid = X inside the select.
Updated by Riccardo De Contardi almost 9 years ago
- Category set to Localization
- Target version changed from 7 LTS to Candidate for patchlevel
Updated by Tymoteusz Motylewski over 7 years ago
- Status changed from New to Needs Feedback
Hi Christian,
Thanks for the bug report.
How did you manage to produce these queries ? Are they result of some TypoScript or PHP code?
Are they generated from the request with L=0 or from translated page?
If from L>0, then is the page translated to requested language?
Why do you think that "config.sys_language_mode = ignore should remove any existens of tt_content.sys_language_uid = X inside the select." ?
AFAIK sys_language_mode = ignore, just make TYPO3 try to use the language set in "L" parameter without checking if the page is translated or not.
So it should not influence the queries directly.
also sys_language_mode is only evaluated when sys_language_uid is >0
Updated by Alexander Opitz about 7 years ago
- Status changed from Needs Feedback to Closed
- Target version deleted (
Candidate for patchlevel)
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.