Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7.27
-
Fix Version/s: 4.7.28
-
Component/s: None
-
Labels:None
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Needs Funding
-
Verified?:No
Description
On a fairly normal site, with 2500 events, I noticed that loading any Event > Location page took 8 seconds for the full page load, where as normally pages take up to 2 seconds to load. This is in great part caused by the XHR/AJAX loading of various bits on the screen, which each took about 2 seconds to load. Still, XHR requests are normally pretty quick (600 ms).
Using php-xdebug profiling, I narrowed it down to CRM_Event_BAO_Event::checkPermission(). Incoming PR.