Moodle suddenly won't record new attempts on old O9 Quizzes

Hi everyone,

I've been using Quizmaker 09 with Moodle for a while without any problems. I have the setting so that students can retake a quiz as often as they wish, and the highest attempt is registered in the gradebook. The setting are such that students are forced to begin a new attempt. Until quite recently, this worked perfectly fine: one student took a quiz 10 ten times, and Moodle registered each attempt. Within the last week or so, Moodle suddenly stopped recording new attempts on some -- but not all -- quizzes. The new attempt simply doesn't register. I've confirmed this on both a Mac (Mavericks) and a PC (Windows 7), using IE, Chrome, Firefox, and Safari. What makes this even more curious is that if I upload the same quiz as a new Scorm, it seems to work fine (multiple attempts are recognized: but since multiple attempts were once recognized on the old quizzes, I'm not sure whether it will last). However, I need to create a new SCORM package on the Moodle site: merely replacing the old quiz with a newly published quiz doesn't work. 

I've asked the tech people at my uni whether there was some kind of update to Moodle that may have caused the problem. It sounds to me as if it is a Moodle issue, but I was wondering whether anyone else experienced similar difficulties. 

11 Replies
Joseph Flanagan

Hi,

Thanks for the quick response. The problem I see is that the description of that bug seems to be a bit different from the problem I'm having. I didn't restore from a backup, and there isn't a problem launching the quiz. The quiz launches fine, and appears to work fine, until you check the gradebook/reports and see that Moodle did register that there has been a new attempt. Is that the same bug?

Joseph Flanagan

HI,

Updating Moodle didn't help (or at least immediately solve the problem). It turns out the merely deleting the problematic attempt solves the issue (I didn't do this before the update, so I don't know whether the update had any effect). 

The problem is that Moodle is not recognizing the new attempt. As soon as a learner passes the quiz, they are always sent into review mode. I checked the settings on Moodle so that the learner is always forced to begin a new attempt, but that doesn't make a difference: they are still sent into review mode. Even if given the option (i.e., not forcing the new attempt so they are prompted to either begin a new attempt or enter review mode) doesn't make a difference. Clicking the box to begin a new attempt simply sends them into review mode. 

There appears to be two different ways to get stuck in review mode. Both are a bit mysterious to me. In one, some quizzes just stop registering a new attempt. I have no idea what they have in common. It is possible that these quizzes have been overwritten more than others, but I don't know. For at least one other learner, the problem occurred because I forgot to force the new attempt on that quiz, and she went into review mode when retaking it. Once she got into review mode, she couldn't get out. The quiz did not cause any problems for me (I took the quiz after I noticed that I hadn't forced the new attempt and had changed the settings so I was never given a choice). 

As I said above, deleting the attempt that appears to be "stuck" in review mode solved the problem. I was able to take the quiz multiple times and have the result registered. And also as before, I'm not sure whether the update had any effect. I kept meaning to delete the attempt and see whether that made a difference but I had forgotten. 

So problem is "solved," but I'm at a loss about what caused it in the first place, since not all the quizzes were effected. 

Joseph Flanagan

HI,

We're still trying to get at the bottom for the problem we are having, and I thought I would where we are currently in case anyone else has similar issues. The problem is indeed that the learner gets stuck in review mode, and the only way out of review mode is by deleting the problematic attempt. What might be causing the issue (we are still investigating) is when a learner either completes or "aborts" an attempt without finishing the quiz (that is, pressing "finish" at the end of the quiz). I had always told students to make sure they do this in order to get their grade registered, but the problem seems to be that if at student at any point does not press the "Finish" button after starting a quiz, they will get stuck in review mode for all subsequent attempts. Unfortunately, I've been really busy, and I haven't had time to test whether this indeed what is causing the quiz to get stuck in review in the first place. 

Joseph Flanagan

Hi,

Our ability to solve the problem has reached the end. Our IT people created an issue in the Moodle.org bug tracker, located here:

https://tracker.moodle.org/browse/MDL-43222

Here is what our IT people believe is what is causing the problem:

Looking at the SCORM logs we noticed that when exiting an unfinished attempt, cmi.core.score.min, cmi.core.score.max and cmi.core.score.raw are not passed.


Looks like the missing cmi.core.score.raw is what is causing trouble. In our tests, adding cmi.core.score.raw manually to the unfinished attempt via SCORM Debugging interface made successive attempts behave normally.