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

cmi.credit and cmi.mode are not evaluated correctly

    XMLWordPrintable

    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 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.
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE
    • Pull Master Branch:
      master_MDL-30577

      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

              Assignee:
              danmarsden Dan Marsden
              Reporter:
              mayank_gupta2005 Mayank Gupta
              Peer reviewer:
              Dan Marsden
              Integrator:
              Aparup Banerjee
              Tester:
              Rossiani Wijaya
              Participants:
              Component watchers:
              Damyon Wiese, Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

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