Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-7068 META: SCORM 2004 compliance + issues
  3. MDL-28541

cmi.scaled_passing_score not passed correctly

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1
    • 2.2
    • SCORM
    • MOODLE_21_STABLE
    • MOODLE_22_STABLE
    • master_MDL-28541
    • Hide

      This is a pain to test - it must be done on a windows machine using the 2004 test harness. thanks to Mayank we should have a new automated Test harness that allows testing a bit easier very soon...

      but if you really want to test this despite the fact it's only going in head....

      download the CM-01 Test Package and ADL 2004 Test Suite
      run through the test and make sure this doesn't appear in the logs:
      ERROR: Evaluating GetValue("cmi.scaled_passing_score") - Expected: "0.8" - LMS Returned: ""

      NOTE: there are still a range of other items causing the CM-01 to Fail - please see MDL-28740 for further detail.

      Show
      This is a pain to test - it must be done on a windows machine using the 2004 test harness. thanks to Mayank we should have a new automated Test harness that allows testing a bit easier very soon... but if you really want to test this despite the fact it's only going in head.... download the CM-01 Test Package and ADL 2004 Test Suite run through the test and make sure this doesn't appear in the logs: ERROR: Evaluating GetValue("cmi.scaled_passing_score") - Expected: "0.8" - LMS Returned: "" NOTE: there are still a range of other items causing the CM-01 to Fail - please see MDL-28740 for further detail.

    Description

      The ADL SCORM 2004 CM-01 test failed for a range of issues including:

      • cmi.scaled_passing_score - In activity 2 the GetValue("cmi.scaled_passing_score") returned null, expected - 0.8

      If you want to execute test CM-01 you can download the CM-01 Test Package and ADL 2004 Test Suite

      =====DETAILED LOG======
      Start ADL LMS Test Content Package CM-01
      Testing Activity 1
      Activity 1 was launched as expected
      ERROR: Did the LMS provide a disabled UI device that corresponds to the Continue Navigation Event? - Expected: Yes - Answered: No
      ERROR: Did the LMS provide an enabled Table Of Contents that includes Activity 2 as selectable? - Expected: No - Answered: Yes
      Evaluating Initialize("") - Expected: "true" - LMS Returned: "true"
      Evaluating GetLastError("") - Expected: "0" - LMS Returned: "0"
      ERROR: Evaluating GetValue("cmi.max_time_allowed") - Expected: "P5Y6M4DT12H30M58S" - LMS Returned: ""
      ERROR: Evaluating GetLastError("") - Expected: "0" - LMS Returned: "403"
      Evaluating SetValue("adl.nav.request", "continue") - Expected: "true" - LMS Returned: "true"
      Evaluating GetLastError("") - Expected: "0" - LMS Returned: "0"
      Evaluating SetValue("cmi.exit", "normal") - Expected: "true" - LMS Returned: "true"
      Evaluating GetLastError("") - Expected: "0" - LMS Returned: "0"
      Testing Activity 2
      Activity 2 was launched as expected
      Evaluating Initialize("") - Expected: "true" - LMS Returned: "true"
      Evaluating GetLastError("") - Expected: "0" - LMS Returned: "0"
      ERROR: Evaluating GetValue("cmi.scaled_passing_score") - Expected: "0.8" - LMS Returned: ""
      ERROR: Evaluating GetLastError("") - Expected: "0" - LMS Returned: "403"
      Evaluating SetValue("adl.nav.request", "continue") - Expected: "true" - LMS Returned: "true"
      Evaluating GetLastError("") - Expected: "0" - LMS Returned: "0"
      Evaluating SetValue("cmi.exit", "normal") - Expected: "true" - LMS Returned: "true"
      Evaluating GetLastError("") - Expected: "0" - LMS Returned: "0"
      Testing Activity 3
      ERROR: Expected Activity 3 - LMS Launched Activity 2

      Attachments

        Issue Links

          Activity

            People

              danmarsden Dan Marsden
              mayank_gupta2005 Mayank Gupta
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Dan Marsden, Matteo Scaramuccia, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5/Dec/11