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

Default value of some CMI elements is not computed correctly.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.2.1
    • 2.2, 2.3
    • SCORM
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_22_STABLE
    • master_MDL-30645
    • Hide

      It can be tested by running the SCORM Test Harness for DMI package - Data Model Implementation Test 1.
      1. Download the DMI Test package.
      2. Run the SCORM Test Harness for DMI as specified here - SCORM Test Harness
      3. Check the Log to make sure these errors do not show:
      (for Resumed Activity 1)
      ERROR: Evaluating GetValue("cmi.progress_measure") - Expected: "0.9" - LMS Returned: ""
      ERROR: Evaluating GetLastError("") - Expected: "0" - LMS Returned: "403"

      (for Resumed Activity 4)
      ERROR: Evaluating GetValue("cmi.learner_preference.audio_level") - Expected: "50.9" - LMS Returned: "1"
      Evaluating GetLastError("") - Expected: "0" - LMS Returned: "0"
      ERROR: Evaluating GetValue("cmi.learner_preference.language") - Expected: "zh-xiang" - LMS Returned: ""
      Evaluating GetLastError("") - Expected: "0" - LMS Returned: "0"
      ERROR: Evaluating GetValue("cmi.learner_preference.delivery_speed") - Expected: "50.9" - LMS Returned: "1"
      Evaluating GetLastError("") - Expected: "0" - LMS Returned: "0"

      NOTE: Many other errors are reported by this test package - this patch only addresses the issues mentioned.

      Show
      It can be tested by running the SCORM Test Harness for DMI package - Data Model Implementation Test 1. 1. Download the DMI Test package. 2. Run the SCORM Test Harness for DMI as specified here - SCORM Test Harness 3. Check the Log to make sure these errors do not show: (for Resumed Activity 1) ERROR: Evaluating GetValue("cmi.progress_measure") - Expected: "0.9" - LMS Returned: "" ERROR: Evaluating GetLastError("") - Expected: "0" - LMS Returned: "403" (for Resumed Activity 4) ERROR: Evaluating GetValue("cmi.learner_preference.audio_level") - Expected: "50.9" - LMS Returned: "1" Evaluating GetLastError("") - Expected: "0" - LMS Returned: "0" ERROR: Evaluating GetValue("cmi.learner_preference.language") - Expected: "zh-xiang" - LMS Returned: "" Evaluating GetLastError("") - Expected: "0" - LMS Returned: "0" ERROR: Evaluating GetValue("cmi.learner_preference.delivery_speed") - Expected: "50.9" - LMS Returned: "1" Evaluating GetLastError("") - Expected: "0" - LMS Returned: "0" NOTE: Many other errors are reported by this test package - this patch only addresses the issues mentioned.

      The default value of the following CMI elements is not computed correctly -

      • cmi.learner_preference.audio_level,
      • cmi.learner_preference.language,
      • cmi.learner_preference.delivery_speed,
      • cmi.learner_preference.audio_captioning,
      • cmi.progress_measure.

      This causes the above elements to have an incorrect value when the SCO is resumed after a suspended state.

            mayank_gupta2005 Mayank Gupta
            mayank_gupta2005 Mayank Gupta
            Dan Marsden Dan Marsden
            Aparup Banerjee Aparup Banerjee
            Adrian Greeve Adrian Greeve
            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.