SCORM Activity Incorrectly Marked as Complete

SCORM Activity Incorrectly Marked as Complete

by Steve Lauen -
Number of replies: 2

Using Moodle 2.7 and Storyline for SCORM 1.2 content.

We have found that one of our SCORM activities is occasionally being marked as complete, even though the student has not completed the activity.

The SCORM activity consists of a SCORM-based quiz which must be passed successfully in either 1 or 2 tries.  If they fail the first time, they can take it a second time.  If they fail a second time, they cannot take it again, and instead must take a different course.

What we have found is that if the user fails the first time, and then exits during the second attempt, the activity is sometimes being marked as completed, even though the student has not passed the course.  Again, this doesn't happen every time.  In my testing, I've had it happen about 20% of the time.

To give examples of what I'm talking about, here is the course page after the user exits the course.  Note the blue checkmark indicating that the activity is complete.


Here are sreen shots of the Activity Completion Report showing a Failed status for the activity for the user:


Clicking the Attempt link shows the following:


Here is the first part of the SCORM interaction detail:


Here are the completion settings for the activity:


Can anyone provide any insight as to why this activity is being marked as complete, even though the user hasn't successfully completed it?

Thanks!
Average of ratings: -
In reply to Steve Lauen

Re: SCORM Activity Incorrectly Marked as Complete

by Steve Lauen -

One more piece of information to add...

I ran the SCORM file through SCORM Cloud, and had the same problem, but with greater frequency (maybe half the time).  Here is the log entry for one of the instances where I was able to duplicate the problem in SCORM Cloud:

[17:18:09.961] LMSSetValue('cmi.core.lesson_status', 'completed') returned 'true' in 0.001 seconds
[17:18:09.961] CheckForSetValueError (cmi.core.lesson_status, completed, cmi.core.lesson_status, , )
[17:18:09.961] Element is: lesson_status
[17:18:09.961] Call is error free.
[17:18:09.961] StoreValue (cmi.core.lesson_status, completed, cmi.core.lesson_status, , )
[17:18:09.961] Element is: lesson_status
[17:18:09.961] StatusSetInCurrentSession = true, CompletionStatus=incomplete
[17:18:09.961] Allowing status change
[17:18:09.962] RunTimeApi_ImmediateRollup called
[17:18:09.962] Transferring RTE data to Activity data
[17:18:09.962] Rolling up activity data
+ [17:18:09.962] LMSSetValue('cmi.core.exit', '') returned 'true' in 0 seconds

Here is the screen shot from SCORM Cloud showing the completion.



So, it looks like a SCORM file issue, but I'm now wondering why Moodle is showing the lesson status as failed, but the SCORM is returning a lesson status of completed.

Any help would be appreciated.
In reply to Steve Lauen

Re: SCORM Activity Incorrectly Marked as Complete

by Dan Marsden -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Plugins guardians Picture of Testers Picture of Translators

Hi Steve, 

according to the SCORM specification when the lesson_status in SCORM is set to "passed", "complete" or "failed" these are completed or finished attempts at the SCORM and allow the user to generate a new attempt rather than re-enter the previous attempt.

You may need to modify how your SCORM package is authored so that it saves the value "incomplete" in the lesson_status instead of "failed"

this might also be useful:

https://docs.moodle.org/en/SCORM_FAQ#Handling_of_Multiple_Attempts