Project

General

Profile

Actions

Bug #91618

closed

Typoscript access no longer possible to TSFE:fe_user|sesssionData

Added by Michael Christian almost 4 years ago. Updated over 3 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2020-06-08
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Typoscript:
10 = TEXT
10.data = TSFE:fe_user|sessionData|lastListPage

Error with LTS-9:
Cannot access protected property TYPO3\CMS\Frontend\Authentication\FrontendUserAuthentication::$sessionData
in typo3\sysext\frontend\Classes\ContentObject\ContentObjectRenderer.php line 5257

My workaround:
Use a typoscript preUserFunc with: "$GLOBALS["TSFE"]->fe_user->getKey("ses",$conf['sessionKey']);"

Could someone fix this please, so that direct TS-access is possible again. :-)

Actions

Also available in: Atom PDF