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
Updated by Gerrit Code Review almost 5 years 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
Updated by Mathias Brodala almost 5 years ago
- Related to Task #88800: Use dependency injection in PSR-15 middlewares added
Updated by Ralf Zimmermann almost 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 8a7d5b7225af5eec77a49c85527836c222c74fa8.
Actions