Issue Bug Closed

#91550getCurrentPageIdFromCurrentSiteRoot returns wrong ID

Christian Toffolo 06/01/20, 10:28 updated 09/29/20, 15:07

Description

I upgraded from TYPO3 8 LTS to TYPO3 9 LTS.

getCurrentPageIdFromCurrentSiteRoot query the db searching for pages where is_siteroot=1.
But all the translated pages have is_siteroot=1 so getCurrentPageIdFromCurrentSiteRoot returns the uid of one of the translated pages instead of the uid of the pages record with sys_language_uid=0

Reviews 3