Project

General

Profile

Actions

Bug #80686

closed

FrontendGroupRestriction initialized by PageRepository in BE causes Error

Added by Anonymous over 7 years ago. Updated over 7 years ago.

Status:
Rejected
Priority:
Must have
Assignee:
-
Category:
Extbase
Start date:
2017-04-05
Due date:
% Done:

0%

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

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

patch.diff (915 Bytes) patch.diff Anonymous, 2017-04-05 10:19

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #77712: FrontendGroupRestriction throwing exception in combination with eID=dumpFile ClosedMorton Jonuschat2016-08-31

Actions
Actions #1

Updated by Markus Klein over 7 years ago

  • 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

Actions #2

Updated by Anonymous over 7 years ago

  • Assignee set to Gerrit Code Review
Actions #3

Updated by Markus Klein over 7 years ago

  • Assignee deleted (Gerrit Code Review)
Actions #4

Updated by Morton Jonuschat over 7 years ago

  • 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.

Actions

Also available in: Atom PDF