Project

General

Profile

Actions

Bug #79354

closed

PageRepository::getPage fails in Backend context

Added by Timo Hund over 7 years ago. Updated over 6 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2017-01-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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?


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #87125: FrontendGroupRestriction class explode-Error in constructorRejected2018-12-11

Actions
Has duplicate TYPO3 Core - Bug #80917: Backend: Uncaught TYPO3 Exception in FrontendGroupRestriction constructor if $GLOBALS['TSFE']->gr_list is nullClosed2017-04-20

Actions
Actions

Also available in: Atom PDF