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

Default value of some CMI elements is not computed correctly.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2, 2.3
    • Fix Version/s: 2.2.1
    • Component/s: SCORM
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE
    • Pull Master Branch:
      master_MDL-30645

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    9/Jan/12