-
Bug
-
Resolution: Fixed
-
Major
-
2.6.3
-
MOODLE_26_STABLE
-
MOODLE_31_STABLE, MOODLE_32_STABLE
-
master_
MDL-45821 -
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?