[TYPO3-mvc] querySettings setRespectSysLanguage or setSysLanguageUid does further not work in 6.2?
Dennis Dittrich
dittrich at netspione.de
Fri Jun 13 11:59:35 CEST 2014
Hi all!
I have exactly the same issue.
On my list view I want to show items based on sys_language_uid. But there is a crazy behavior.
When I set $query->getQuerySettings()->setRespectSysLanguage(FALSE); I get the english items, but also the german.
Crazy is the method name, i would think that typo3 now don't respect language id and show me all products no matter how the sys_language_id is.
But okay, it works. But i have to filter out the german products. There are a few of methods that seems to do that.
$query->getQuerySettings()->setLanguageMode('ignore');
$query->getQuerySettings()->setLanguageOverlayMode(TRUE);
so on... with different paramters... but nothing that solve the problem.
Other requirement for a csv export is to export all records from the repository. But there is the language problem, too. I don't find a solution to export all english und german records in a csv table. That would be nice to reimport that to the database.
Do some other people think there is a crazy behavoiur, too? Or I have the wrong view of the classes?
Is there still a bug? Any explanation?
Regards,
Dennis
More information about the TYPO3-project-typo3v4mvc
mailing list