Feature #20395
closed
Optimize loading of frontend user groups
Added by Oliver Hader over 15 years ago.
Updated about 11 years ago.
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
Committed to SVN Trunk (rev. 5451)
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
cobj>getTreeList seems to ignore the "$depth" parameter. This is caused by
a call to $GLOBALS['TSFE']->checkEnableFields() which expects a gr_list.
- Category deleted (
Communication)
- Target version deleted (
4.6.0-beta1)
Is this still a problem in newer TYPO3 CMS versions?
- Status changed from Needs Feedback to Closed
No feedback for over 90 days.
Also available in: Atom
PDF