[TYPO3-mvc] setRespectSysLanguage does not work after upgrade 4.7 to 6.0

Domi djgarms at gmail.com
Tue Feb 26 09:37:03 CET 2013


Hi,

I stumbled over a next problem after 6.x upgrade. I have forms where I 
set the
$query->getQuerySettings()->setRespectSysLanguage(false);
			
$result = $query->matching(
   $query->logicalAnd($query->equals('sys_language_uid',$languageUid),

   $query->equals('l10n_parent', $mailTemplateUid)))
					
->execute();

In 4.7 this worked without problems, in 6.x the function 
doLanguageAndWorkspaceOverlay() overwrites permanatly my translated 
record back to the  origin language.

For what do I use the query settings, if they don't affect the query? I 
tried all options:
setRespectSysLanguage(false)
setSysLanguageUid($languageUid)

Does anyone has a clue what went differently in 6.x?

Thanks
Dominic


More information about the TYPO3-project-typo3v4mvc mailing list