Feature #20395
closedOptimize loading of frontend user groups
0%
Description
In TSFE frontend user groups are tried to be loaded. However, if there's no active frontend user or no request for simulating a frontend user group, it does not make any sense to call tslib_fe->initUserGroups().
(issue imported from #M11038)
Files
Updated by Rupert Germann over 15 years ago
doesn't work - please revert:
the call to initUserGroups() calls fe_user->fetchGroupData() which is indeed
an expensive operation but it also sets the vars "$this->loginUser"
and "$this->gr_list".
especially gr_list is used at many places and it is not set anymore now.
One effect of this missing gr_list is, that the complete "enableFields"
stuff works differently > means f.e. that a function like>getTreeList seems to ignore the "$depth" parameter. This is caused by
cobj
a call to $GLOBALS['TSFE']->checkEnableFields() which expects a gr_list.
Updated by Xavier Perseguers over 13 years ago
- Category deleted (
Communication) - Target version deleted (
4.6.0-beta1)
Updated by Alexander Opitz over 11 years ago
Is this still a problem in newer TYPO3 CMS versions?
Updated by Alexander Opitz about 11 years ago
- Status changed from Needs Feedback to Closed
No feedback for over 90 days.