[BUGFIX] Make Extbase respect sys_language_mode=strict 61/31061/2
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:39:45 +0000 (08:39 +0200)
commitc78a2e051a5c163a54150013ceb96fe2542a8c11
treed11a8fdfb32e80f0f7a73a55a38c686b80dfbb45
parentc14b3fdd7fbe4529a113691677d9c43da92413ad
[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: Ifb0ff6dda648fb4a686992ee6f7c00419a3ee934
Reviewed-on: https://review.typo3.org/31061
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbQueryParser.php