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

SCORM attempts not displayed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: SCORM
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Some SCORM packages report cmi.core.lesson_status but not cmi.core.score.raw.

      In this case function scorm_get_attempt_count in mod/scorm/locallib.php does not return any attempts so the attempt status displayed on mod/scorm/view.php wrongly states that no attempts have been made.

      The SCORM FAQ says that the Grading Method should be set to Learning Object for these packages, so the following could be added to the function to fix it:

      if ($scorm->grademethod == GRADESCOES) {
      $element = 'cmi.core.lesson_status';
      }

        Attachments

          Activity

            People

            Assignee:
            danmarsden Dan Marsden
            Reporter:
            greg.franklin Greg Franklin
            Tester:
            Nobody Nobody
            Participants:
            Component watchers:
            Damyon Wiese, Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Nov/10