[BUGFIX] Only fetch default language page for tree lists 67/58967/4
authorBenni Mack <benni@typo3.org>
Wed, 28 Nov 2018 07:03:05 +0000 (08:03 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Wed, 28 Nov 2018 09:57:47 +0000 (10:57 +0100)
commit2cbaeb8bc5bcd4407bb3b53e3ebd20cd3d0e817a
tree24dc5fe4c8149d5740ad4ddf02da13a761c3f1ca
parent83c8d04e1d669f8b7a2f7988594154b003887b96
[BUGFIX] Only fetch default language page for tree lists

Due to the removal of pages_language_overlay the queries
for fetching trees have to work as before - mainly because the
concept of the "pid" (= storagePid) works the same - records on a
page have the pid of the default language, not of any translation.

Therefore, the used queries have to be built to check for
sys_language_uid=0.

Resolves: #87020
Related: #86961
Releases: master
Change-Id: Ie7740b6a32618a213d569362a58b9f8e5ed7824d
Reviewed-on: https://review.typo3.org/58967
Reviewed-by: Richard Haeser <richard@maxserv.com>
Tested-by: Richard Haeser <richard@maxserv.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/backend/Classes/FrontendBackendUserAuthentication.php
typo3/sysext/core/Classes/Database/QueryGenerator.php
typo3/sysext/core/Classes/Database/QueryView.php
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php