Issue Bug Rejected

#79354PageRepository::getPage fails in Backend context

Timo Hund 01/17/17, 14:49 updated 08/09/17, 20:25

Description

The call of PageRepository::getPage currently fails in the backend context with the following error:

Uncaught TYPO3 Exception
explode() expects parameter 2 to be string, null given

TypeError thrown in file
/var/www/dev-master.local.typo3.org/typo3_src/typo3/sysext/core/Classes/Database/Query/Restriction/FrontendGroupRestriction.php in line 36.

This happens because FrontendGroupRestriction tries to read TSFE->gr_list. In TYPO3 7.6. is worked to call PageRepository::getPage in the backend context.
Is this a bug, or should a page be fetched in a different way?

Reviews 1