Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.1.2
-
Component/s: Web Services
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_21_STABLE
-
Fixed Branches:MOODLE_21_STABLE, MOODLE_22_STABLE
-
Pull from Repository:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
Noticed the following error while testing MDL-30045, to create new token for a student:
Did you remember to make the first column something unique in your call to get_records? Duplicate value '766' found in column 'id'.
|
|
line 818 of /lib/dml/mysqli_native_moodle_database.php: call to debugging()
|
line 364 of /webservice/lib.php: call to mysqli_native_moodle_database->get_records_sql()
|
line 391 of /webservice/lib.php: call to webservice->get_user_capabilities()
|
line 7550 of /lib/adminlib.php: call to webservice->get_missing_capabilities_by_users()
|
line 1343 of /lib/adminlib.php: call to admin_setting_managewebservicetokens->output_html()
|
line 126 of /admin/settings.php: call to admin_settingpage->output_html()
|
Attachments
Issue Links
- has a non-specific relationship to
-
MDL-31253 META - web service improvements for 2.3
-
- Closed
-
- has been marked as being related by
-
MDL-32458 Verify all the capabilities specified in services.php definitions are checked in code
-
- Closed
-
-
MDL-29962 Informing administrator about "required" capabilities to run a web service function
-
- Development in progress
-
- Testing discovered
-
MDL-30045 Backport 2.2 changes for login/token.php in 2.1
-
- Closed
-