[TYPO3-mvc] Query Matching and Multilanguage

Matthias Krappitz matthias at nospam.aemka.de
Mon Oct 15 15:00:20 CEST 2012


> Are you sure that $GLOBALS['TSFE']->sys_language_uid is set according with 
> correct language?
> Extbase uses Querysettings function setRespectSysLanguage to define that 
> record should be fetched according with sys_languge_uid.
> Then, if it's set, Extbase adds 
> "tx_myextension_domain_model_whatever.sys_language_uid IN (' . 
> $GLOBALS['TSFE']->sys_language_uid .',-1) ...".
> Remember to check if you set 
> $GLOBALS['TCA'][$tableName]['ctrl']['languageField'].

I'm absolutely sure about $GLOBALS['TSFE']->sys_language_uid being set 
right. Also all of my tables have been generated by EXT:extension_builder, 
so their TCA should be correct. I use TYPO3 4.7.4.






More information about the TYPO3-project-typo3v4mvc mailing list