Bug #76614
closedIn 8.1.2 Fe-eId requests fail for logged in users
0%
Description
With TYPO3 8.1.2 I get errors with AJAX-requests using eID.
$GLOBALS['TSFE']->initFEuser(); ends up in an error:
"Return value of TYPO3\CMS\Core\Database\Query\QueryContext::getPageRepository() must be an instance of TYPO3\CMS\Frontend\Page\PageRepository, string returned"
Call is made in TYPO3\CMS\Core\Database\Query\QueryContext::getPageRepository(), line 348 by $this->includePlaceholders = $this->getPageRepository()->versioningPreview;
It happens after a user made login.
Logout does not always help - deleting the cookies does.
Site with problem is https://812.toctoc.ch
Almost same site, with TYPO3 8.0.1 - but no problem with eID - is https://80.toctoc.ch.
DBAL has no influence on this, neither if workspaces are used or not.
To me it looks like some "spaghetti-problem" resulting from the current work on the concerned code in core.
Files
Updated by Susanne Moog over 8 years ago
- Status changed from New to Needs Feedback
Hi,
I currently cannot reproduce the issue. Can you provide a test extension to trigger the error? Can you additionally try if the error also occurs on current master?
Thanks!
Susi
Updated by Gisèle Wendl over 8 years ago
Hello,
You can try reproduce it with ext:toctoc_comments 9.1.0, FF Firebug works nice to see the Ajax-Posts and the server replies.
How to wget the current master?
Thanks :-)
Updated by Gisèle Wendl over 8 years ago
We are a step ahead, I found time to investigate and the result is as follows:
With TYPO3 8.2.1 the AJAX-requests using eID with fe_user logged in - the
$GLOBALS['TSFE']->initFEuser();
does work.
With TYPO3 8.1.2 the AJAX-requests using eID with fe_user logged in - the
$GLOBALS['TSFE']->initFEuser();
does NOT work, as described in the Bug-Description
Proposition: I will add TYPO3 8.1.2 to the "conflicts with"-List in ext_emconf.php in next version of toctoc_comments (9.2.0) ... and "Status: Closed" please :-)
Updated by Riccardo De Contardi about 8 years ago
- Status changed from Needs Feedback to Closed
I think I can close it as resolved, as 8.1.x is no more supported.
If you think that this is the wrong decision or you experience the issue again, please open a new issue with a reference to this one. Thank you