Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-79253

Cannot delete course with SCORM

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.3
    • 4.3
    • SCORM
    • MOODLE_403_STABLE
    • MOODLE_403_STABLE
    • MDL-79253-master
    • Hide
      1. Create a course
      2. Add a SCORM package to the course. (You can upload one from your moodle instance's mod/scorm/tests/packages folder)
      3. Go to Site administration > Courses > Manage courses and categories
      4. Delete the course
      5. Confirm that the course deletion has been completed without any errors.
      Show
      Create a course Add a SCORM package to the course. (You can upload one from your moodle instance's mod/scorm/tests/packages folder) Go to Site administration > Courses > Manage courses and categories Delete the course Confirm that the course deletion has been completed without any errors.

      To reproduce:

      1. Create a course
      2. Add a SCORM package to the course.
      3. Go to Site administration > Courses > Manage courses and categories
      4. Delete the course
      5. Expected: The course will be deleted.
      6. Actual: The following error occurs:

        Exception - Call to undefined function scorm_delete_tracks()
         
        Stack trace:
        line 296 of /mod/scorm/lib.php: Error thrown
        line 5202 of /lib/moodlelib.php: call to scorm_delete_instance()
        line 5045 of /lib/moodlelib.php: call to remove_course_contents()
        line 68 of /course/delete.php: call to delete_course()
        

            jpataleta Jun Pataleta
            jpataleta Jun Pataleta
            Paul Holden Paul Holden
            Andrew Lyons Andrew Lyons
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 49 minutes
                49m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.