Frontend dies if we are logged in as a be user with no page show rights.
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
Updated by Gerrit Code Review about 1 year ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62424