Actions
Bug #89763
closedFrontend dies if we are logged in as a be user with no page show rights.
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-11-24
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:
Description
This change https://github.com/TYPO3/TYPO3.CMS/commit/f1bf354cfc9dd973cc7c658be40c0dddab7b9b3d#diff-fa4ec26f18506b222bede82320fa0e30L108 removed the nullable typehint.
This results in a fatal
Argument 1 passed to TYPO3\CMS\Frontend\Middleware\TypoScriptFrontendInitialization::setBackendUserAspect() must be an instance of TYPO3\CMS\Core\Authentication\BackendUserAuthentication, null given, called in /var/www/dsl/packages/TYPO3.CMS/typo3/sysext/frontend/Classes/Middleware/TypoScriptFrontendInitialization.php on line 102
in the following scenario:
- Create a new backend user, no further configuration needed (at least, dont give the user a DB mount, so the user have no backend access to a page)
- login as this user, or make a "su" for this user
- load the frontend within a seperate browser tab
Actions