-
Bug
-
Resolution: Fixed
-
Critical
-
3.1
-
MOODLE_31_STABLE
-
MOODLE_31_STABLE
-
MDL-54030_master -
Steps to replicate
- Login as administrator.
- Follow Site administration ► Security ► HTTP security and enable 'Allow frame embedding'.
- Follow Site administration ► Plugins ► Authentication ► Manage authentication and enable 'LTI' authentication.
- Follow Site administration ► Plugins ► Enrolments ► Manage enrol plugins and enable 'Shared external tool'.
- Log out and log in as teacher.
- Visit a course with some activity (assignment)
- Follow Course administration ► Users ► Enrolment methods.
- Add a shared external tool with 'Tool to be provided' selected to assignment
- Follow Course administration ► Shared external tools.
- Click on Delete icon and press continue on confirmation.
- You will observe following
Debug info: SELECT id FROM {enrol_lti_tools} WHERE enrolid = ?
[array (
0 => '11',
)]
Error code: invalidrecord
×Stack trace:
line 1502 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
line 1478 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
line 178 of /enrol/lti/lib.php: call to moodle_database->get_record()
line 1864 of /lib/enrollib.php: call to enrol_lti_plugin->unenrol_user()
line 164 of /enrol/lti/lib.php: call to enrol_plugin->delete_instance()
line 57 of /enrol/lti/index.php: call to enrol_lti_plugin->delete_instance()
- blocks
-
MDLQA-9797 Teacher can Create/Edit/Delete IMS-LTI provider
-
- Passed
-