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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.3.7, 2.4.4, 2.5
    • Fix Version/s: 2.3.8, 2.4.5, 2.5.1
    • Component/s: SCORM
    • Labels:
    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • Pull Master Branch:
      MDL-39363-master

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    8/Jul/13