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

"cmi.mode" is not set to "browse" when user enters sco in "Preview" mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • 2.4
    • SCORM
    • MOODLE_24_STABLE

      Issue:
      When a student chooses to preview a course by selecting "Preview" before entering, The SCORM API sets "cmi.mode" flag to "normal" so the content assumes that this is a new (normal) attempt and starts sending tracking data.
      Upon exiting the sco, Moodle assumes that it was attempted, and marks the sco as "incomplete", even though the user only wanted to preview the course.

      The expected behavior is to set the "cmi.mode" to "browse" according to SCORM 2004 specs. and this was done correctly in version 2.3+, so this issue is probably a regression from 2.3.

      Steps to reproduce the issue:
      1. Upload a SCORM 2004 compliant package.
      2. Enter package in "Preview" mode, the word "Preview" is displayed above the TOC.
      3. Moodle sets the "cmi.mode" to "normal" instead of "browse".
      4. Moodle incorrectly marks the sco as "attempted".

            danmarsden Dan Marsden
            gfx Kinan Debes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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