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

cmi.credit and cmi.mode are not evaluated correctly

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2, 2.3
    • 2.2.1
    • SCORM
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_22_STABLE
    • master_MDL-30577
    • 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 no longer appear:

      ERROR: Evaluating GetValue("cmi.credit") - Expected: "credit" - LMS Returned: "no-credit" (x7)
      ERROR: Evaluating GetValue("cmi.mode") - Expected: "normal" - LMS Returned: "" (x9)

      NOTE: Many other errors are reported by this test - 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 no longer appear: ERROR: Evaluating GetValue("cmi.credit") - Expected: "credit" - LMS Returned: "no-credit" (x7) ERROR: Evaluating GetValue("cmi.mode") - Expected: "normal" - LMS Returned: "" (x9) NOTE: Many other errors are reported by this test - this patch only addresses the issues mentioned.

    Description

      While running the SCORM 2004 conformance test for DMI test package the cmi.credit and cmi.mode elements are not evaluated correctly - 7 cmi.credit and 9 cmi.mode similar issues are thrown.

      ERROR: Evaluating GetValue("cmi.credit") - Expected: "credit" - LMS Returned: "no-credit" (x7)

      ERROR: Evaluating GetValue("cmi.mode") - Expected: "normal" - LMS Returned: "" (x9)

      Attachments

        Issue Links

          Activity

            People

              danmarsden Dan Marsden
              mayank_gupta2005 Mayank Gupta
              Dan Marsden Dan Marsden
              Aparup Banerjee Aparup Banerjee
              Rossiani Wijaya Rossiani Wijaya
              Dan Marsden, Matteo Scaramuccia, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Jan/12