#88955Language restriction is not automatically taken in account with queryBuilder
Description
Create a request to get data from a table in a repository :
$queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class)->getQueryBuilderForTable('tx_myext_domain_model_table');
$result = $queryBuilder->select('*')
->from('tx_myext_domain_model_table')
->where(...$conditions)
->execute()
->fetchAll();
if the table ‘tx_myext_domain_model_table’ contains translations for other languages (i.e. sys_language_uid > 0) the result returned include the records for all languages while ‘sys_language_uid’ should have been automatically filtered for the current language.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.