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.
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.