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

multi-sco lesson_status and review mode.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.3
    • Fix Version/s: 3.1.5, 3.2.2
    • Component/s: SCORM
    • Labels:
    • Testing Instructions:
      Hide
      1. Add a scorm activity to a course with the package "RunTimeMinimumCalls_SCORM12.zip" - in the mod/scorm/tests/packages directory. Set attempts to 2, attempts grading to highest attempt, grading method Learning object force complete no, force new attempt no.
      2. As a student enter the course, view a couple of SCOs which should result in the green checkbox appearing in the toc for those scos. (don't view all scos).
      3. Exit the activity.
      4. Re-enter SCORM activity
      5. The text "review mode" should not appear above the TOC.
      6. View all scos in the package (green ticks should appear for each sco).
      7. Exit activity.
      8. On re-entry to the activity you should see the "Start a new attempt" checkbox on the entry page, (don't tick it) but re-enter SCORM package and "Review mode" text should now appear above the TOC.
      9. Exit activity.
      10. Re-enter SCORM activity and check "Start a new attempt".
      11. The text "review mode" should not appear above the TOC.
      12. Exit activity.
      13. Re-enter SCORM activity.
      14. Confirm there is no "Start a new attempt" checkbox and that there is a message saying you have reached maximum number of attempts.
      Show
      Add a scorm activity to a course with the package "RunTimeMinimumCalls_SCORM12.zip" - in the mod/scorm/tests/packages directory. Set attempts to 2, attempts grading to highest attempt, grading method Learning object force complete no, force new attempt no. As a student enter the course, view a couple of SCOs which should result in the green checkbox appearing in the toc for those scos. (don't view all scos). Exit the activity. Re-enter SCORM activity The text "review mode" should not appear above the TOC. View all scos in the package (green ticks should appear for each sco). Exit activity. On re-entry to the activity you should see the "Start a new attempt" checkbox on the entry page, (don't tick it) but re-enter SCORM package and "Review mode" text should now appear above the TOC. Exit activity. Re-enter SCORM activity and check "Start a new attempt". The text "review mode" should not appear above the TOC. Exit activity. Re-enter SCORM activity. Confirm there is no "Start a new attempt" checkbox and that there is a message saying you have reached maximum number of attempts.
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE, MOODLE_32_STABLE
    • Pull Master Branch:
      master_MDL-45821

      Description

      Moved from MDL-45726 as I hijacked that bug to fix a different issue - sorry!

      Hi Dan. I want to add some more informations:
      I've looked at the scorm debugger and now I've a very clear idea of what happens in sequence.
      My SCORM Package is made of a number of html files in which are loaded a swf video that contain the lesson's slides. These swf files call each one an external mp4 that contains the teacher's recorded video lesson. This is synchronized by the swf player with the sfw slides so that every X frames of the video, the swf movie is checked and the play status is set at the correct frame. In this way the slides are always in sync with the video and we can use a low res video and an hi-res slide (because into the swf the slides symbols, lines, fonts and so on are vectors)
      Now when the first lesson (html) is opened an onload action is triggered. This action triggers the doLMSInitialize and the check of the status of the sco.
      At the end of the movie the page is reloaded. There is an other action on the html that is trigered onbeforeunload or onunload, and this actions calls doLMSCommit and dLMSFinish and set the status of the sco.
      Here we have the issue:
      The SCORM has a grading based on the learning object count. To set the SCORM grade to "5" the student has to complete 5 lessons.. Every lesson is marked completed when it ends. We must set the lesson complete to get the grade of the scorm.
      A SCORM package made of 25 lessons will have 25 scoes completed.
      Into the Moodle database in the mdl_scorm_scoes_track table we will have three rows for each sco:
      the first row will mark the x.start.time, the value and the timemodified
      The second will record the cmi.core.lesson_status the value (incomplete/complete) and the timemodified
      The last will record the cmi.core.total_time its value and the timemodified
      And this will be for each userid, scormid and scoid.
      Now if i set the grading method on the learning-object status, the scorm can't be "completed" if the whole scoes are not in completed status or the student will get review mode at the middle of his attempt.
      Last but not the least: this scorm package worked correctly in the 1.9.x moodle version.
      The question is: why not in 2.X?

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/Mar/17