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

SCORM creation fails when using activity completion

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.3.1
    • 2.3
    • SCORM
    • MOODLE_23_STABLE
    • MOODLE_23_STABLE
    • master_MDL-33978
    • Hide

      enable activity completion.
      Create a new SCORM package
      set completion tracking to "show activity is complete when conditions are met"
      tick the checkbox: require grade

      Save.

      Show
      enable activity completion. Create a new SCORM package set completion tracking to "show activity is complete when conditions are met" tick the checkbox: require grade Save.

      Thanks to Matt Clarkson for reporting this.
      If activity completion is set to require a grade and the following settings are made:
      show activity is complete when conditions are met.
      require grade

      we get this error:
      Debug info: Cannot find grade item for 'scorm'
      cm '284' matching number '0'
      Error code: err_system
      Stack trace:
      line 1226 of /lib/completionlib.php: moodle_exception thrown
      line 584 of /lib/completionlib.php: call to completion_info->internal_systemerror()
      line 517 of /lib/completionlib.php: call to completion_info->internal_get_state()
      line 692 of /mod/scorm/lib.php: call to completion_info->update_state()
      line 153 of /mod/scorm/lib.php: call to scorm_grade_item_update()
      line 447 of /course/modedit.php: call to scorm_add_instance()

            danmarsden Dan Marsden
            danmarsden Dan Marsden
            Dan Poltawski Dan Poltawski
            Ankit Agarwal Ankit Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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