-
Improvement
-
Resolution: Fixed
-
Critical
-
2.1.2, 2.2, 2.3
-
Apache
-
MySQL, PostgreSQL
-
MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
-
MOODLE_21_STABLE, MOODLE_22_STABLE
-
/admin/settings.php?section=webservicetokens
-
When attempting to create a web service token for a user via the web services admin section an out of memory error causes page load to fail.
Error is from admin/webservice/forms.php
web_service_token_form class has a select on the entire user table to populate the user 'searchableselector'.
We have 300,000 users in the user table... so selecting the entire table is causing an issue!
Even selecting on a system with a few thousand users means searchableselector search on the token page becomes unusable.
Is there any data (capability check?) that could be used to cut down on the number returned or an alternate means of selecting the user that doesn't involve loading all at once (like on admin/user/user_bulk.php)?
- has a non-specific relationship to
-
MDL-30537 Better way to select user when millions of user are in the database
-
- Closed
-