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

Investigate why pass/fail status is not set for a grade of 0

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.3.7, 2.4.4, 2.5
    • 2.3.8, 2.4.5, 2.5.1
    • SCORM
    • MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • MDL-39363-master
    • Hide

      Testing difficulty:- Difficult (Long, complex setups needed)

      1. Using the scorm pack attached in MDLQA-5699 attempt a scorm activity as a student who has not attempted the scorm before.
      2. Set "display course structure on entry" to yes in settings
      3. Get a score of 0 by answering everything incorrectly.
      4. Make sure a cross is show in navigation and on scorm entry page against the SCO.
      5. Run the ADL 1.2 tests http://docs.moodle.org/dev/SCORM_Test_Harness#ADL_1.2_Tests
      Show
      Testing difficulty:- Difficult (Long, complex setups needed) Using the scorm pack attached in MDLQA-5699 attempt a scorm activity as a student who has not attempted the scorm before. Set "display course structure on entry" to yes in settings Get a score of 0 by answering everything incorrectly. Make sure a cross is show in navigation and on scorm entry page against the SCO. Run the ADL 1.2 tests http://docs.moodle.org/dev/SCORM_Test_Harness#ADL_1.2_Tests

    Description

      As Pointed out on MDLQA-5699 , this is what is happening:-
      When score is 50 Scorm sends in:-
      cmi.core.lesson_status = completed
      cmi.core.score_raw = 50
      And the status is stored as failed in moodle

      When score is 100 Scorm sends in:-
      cmi.core.lesson_status = completed
      cmi.core.score_raw = 100
      And the status is stored as passed in moodle

      When score is 0 Scorm sends in:-
      cmi.core.lesson_status = completed
      cmi.core.score_raw = 0
      And the status is stored as completed in moodle, which should be failed because of Mastery Score is equal to 80 (see imsmanifest.xml, <adlcp:masteryscore>80</adlcp:masteryscore>)

      Am not sure why this is happening, or if it actually is an issue, but is worth investigating.

      Attachments

        Issue Links

          Activity

            People

              ankit_frenz Ankit Agarwal
              ankit_frenz Ankit Agarwal
              Rajesh Taneja Rajesh Taneja
              Damyon Wiese Damyon Wiese
              Frédéric Massart Frédéric Massart
              Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                8/Jul/13