Bug #80686
closed
FrontendGroupRestriction initialized by PageRepository in BE causes Error
Added by Anonymous over 7 years ago.
Updated over 7 years ago.
Description
explode() expects parameter 2 to be string, null given
TypeError thrown in file
typo3/sysext/core/Classes/Database/Query/Restriction/FrontendGroupRestriction.php in line 36.
Files
- Description updated (diff)
- Target version changed from 8 LTS to Candidate for patchlevel
Hi!
Thanks for the report.
Please push patches directly to Gerrit. We do not cope with patches in tickets anymore.
If you need help, please don't hesitate to get in touch with us via Slack.
https://forger.typo3.org/slack
- Assignee set to Gerrit Code Review
- Assignee deleted (
Gerrit Code Review)
- Status changed from New to Rejected
We already has this fix once and we decided to revert it. For details see the discussion here: https://review.typo3.org/#/c/49704/
We decided that doing this hides bad code that doesn't initialize the Frontend properly and the restrictions might actually not be doing what you expect them to do.
Please fix your code to properly initialize the (simulated) Frontend.
Also available in: Atom
PDF