Issue Bug Closed

#81040Extbase QueryResult::count() incorrect for strict language mode

Axel Helmert 04/27/17, 11:55 updated 06/15/17, 00:39

Description

When changing the sys_language_mode to strict, the resulting count is incorrect for the following circumstances:

  • sys_language_mode is strict
  • The current sys_language is > 0
  • There is a record for the sys_language which is HIDDEN and has a valid parent_l10n reference
  • The l10n_parent record is the DEFAULT sys_language and NOT HIDDEN

I tracked it town to Typo3DbQueryParser::getSysLanguageStatement() this will respect deleted but not hidden when building the language specific constraints.

Reviews 1