Skip to content

Cannot delete a course created from a template, using the LTI-Advantage version of the plugin #17

@perllaghu

Description

@perllaghu

I go to admin, courses, find the course, click on the "bin" icon... and get the following output;

Deleting edi-ct_DevTest
Deleted - Completion tracking
Deleted - Grades, Items, Categories 
Deleted - Outcomes 
Deleted - Scales 
Deleted - Settings 
Deleted - Letters 
Deleted - Blocks 
Deleted - Forum 
Deleted - Activity modules 
Deleted - Questions 
Deleted - Content bank

Table "enrol_ct_tool_cons_map" does not exist
[More information about this error](https://docs.moodle.org/401/en/error/moodle/ddltablenotexist)

Debug info:
Error code: ddltablenotexist

Stack trace:
    line 673 of /lib/dml/moodle_database.php: dml_exception thrown
    line 1349 of /lib/dml/moodle_database.php: call to moodle_database->where_clause()
    line 179 of /enrol/lticoursetemplate/lib.php: call to moodle_database->get_recordset()
    line 1178 of /lib/enrollib.php: call to enrol_lticoursetemplate_plugin->delete_instance()
    line 5290 of /lib/moodlelib.php: call to enrol_course_delete()
    line 5069 of /lib/moodlelib.php: call to remove_course_contents()
    line 68 of /course/delete.php: call to delete_course()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions