openwebwork / webwork2

Course management front end for WeBWorK
http://webwork.maa.org/wiki/Main_Page
Other
145 stars 165 forks source link

Delete an LTI course map entry for a course if that course is deleted. #2450

Closed drgrice1 closed 2 months ago

drgrice1 commented 3 months ago

Currently if a course is deleted the entry in the lti_course_map table for that course is left in the database, and the course is still listed on the "Manage LTI Course Map" page in the admin course. Furthermore, you can no longer change the context id for that course on that page due to the protections of the form that only allow working with an actual course. This can cause issues with LTI authentication if an LMS course with that context id tries to use content selection.