[BUGFIX] Make Extbase respect sys_language_mode=strict 57/30757/4
authorGeorg Ringer <georg.ringer@gmail.com>
Mon, 16 Jun 2014 17:40:52 +0000 (19:40 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Mon, 23 Jun 2014 06:38:52 +0000 (08:38 +0200)
commitcdaa8c4a16681d61b41e4c8fad45b9f16595907a
tree37f23682d9279fd79498018418108239100ec36e
parent6f809920b8f094cfed9331209afb8c89ad1b9c58
[BUGFIX] Make Extbase respect sys_language_mode=strict

The Extbase query parser currently doesn't respect strict language mode
because it doesn't consider records that are only present in a localized
language version, but not in the default language.

As a consequence, records only present in a localized language version
are not fetched at all while for counting/paging the count of the default
language version is used.

This change adds a check for strict language mode and additional query
parts to solve this issue.

Releases: 6.3, 6.2
Resolves: #47183
Change-Id: I36511b2fd7c91f0bed5110c2cf12c04c8bbca9c9
Reviewed-on: https://review.typo3.org/30757
Reviewed-by: Frans Saris
Tested-by: Frans Saris
Reviewed-by: Lorenz Ulrich
Tested-by: Lorenz Ulrich
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbQueryParser.php