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

Inappropriate default values for SCORM 1.3 variables

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.8
    • 2.8
    • SCORM
    • MOODLE_28_STABLE
    • MOODLE_28_STABLE
    • MDL-47902_scorm_inappropriate_default_values
    • Hide
      • Add a SCORM (1.3) to a course. This simplest functional example SCORM package can be used:
        http://scorm.com/wp-content/assets/golf_examples/PIFS/RuntimeMinimumCalls_SCORM20043rdEdition.zip
      • Set Activity completion for the activity to Require status: Completed.
      • Enter the activity.
      • Click "Exit activity" to leave the activity.
      • Confirm that the activity is NOT marked complete on the course home page.
        NOTE: Moodle does NOT provide full SCORM 2004 support - there are many other potential issues that may occur while using this package - ignore anything unrelated to the specific test case.
      Show
      Add a SCORM (1.3) to a course. This simplest functional example SCORM package can be used: http://scorm.com/wp-content/assets/golf_examples/PIFS/RuntimeMinimumCalls_SCORM20043rdEdition.zip Set Activity completion for the activity to Require status: Completed. Enter the activity. Click "Exit activity" to leave the activity. Confirm that the activity is NOT marked complete on the course home page. NOTE: Moodle does NOT provide full SCORM 2004 support - there are many other potential issues that may occur while using this package - ignore anything unrelated to the specific test case.

      cmi scorm variables are set with incorrect default values, such as the string "null" being set for some numeric values in scorm 1.3. They should instead be done like scorm 1.2 - left unset.

      Regression symptoms from this include activities incorrectly being marked complete as soon as they are viewed. This is because the test for completion is:

      if ((cmi.completion_threshold != null) && (cmi.progress_measure != null)) 
      

      Because each value is set to the string "null", they are not null, and the scorm is marked as complete.

            raymor Ray Morris
            raymor Ray Morris
            Dan Marsden Dan Marsden
            Damyon Wiese Damyon Wiese
            David Monllaó David Monllaó
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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