When I start a quiz with a time limit, and time runs out, the JavaScript code simply pops up an alert box. In my opinion, the quiz should be somehow marked completed, and I should be redirected to my results (or if feedback at the end is disabled, then whatever would've happened if I finished normally).

If I try to answer anyway, my attempted answer does make it in (I don't think that should happen). Then the feedback I get depends on whether I'm at the last question:

  • If I am at the last question, I am sent to my results, and I can see that my answer made it in.
  • If I am not at the last question, it tells me "You have left this quiz partically" (you should really change that message), and the content itself is blanked out.

In that second case, the quiz appears to remain incomplete. If I come back to the quiz (using the url for the quiz itself), it says "Resuming a previous quiz in-progress.", the countdown timer resets, and I'm allowed to continue right from where I was when I ran out of time, except that last question made it in, so I'm actually on the next one (I really don't think that should happen).

Comments

mbutcher’s picture

Issue tags: +gsoc2009

I fixed the message text. Sivaji, I'll let you look into the rest.

Matt

sivaji_ganesh_jojodae’s picture

Assigned: Unassigned » sivaji_ganesh_jojodae

subscribing

sivaji_ganesh_jojodae’s picture

Issue tags: +timer, +gsoc2009-sivaji

Redirection has been fixed, the later one i.e pause/resume supported quiz needs schema change to save timer status. Need to discuss with mbutcher.

@mbutcher
All the gsoc students are using gsoc-name lable, i too like to go with this.

sivaji_ganesh_jojodae’s picture

Status: Active » Fixed

@darktygur
Thanks for reporting this bug.

Fixed and committed to quiz3.x-dev branch.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

anil614sagar’s picture

Version: 6.x-3.0-alpha1 » 6.x-3.0

Hi,

I am using quiz 3.0 with jquery count down timer 6.x-1.2. When timer runs out it gives me time out alert again timer starts with 2 sec time, again after time out it gives me alert then it redirects to results page. Why timer restarts after time out i dont know. Please help me out.

Cheers,
Anil

sivaji_ganesh_jojodae’s picture

please refer #487004: The 'time up!' alert box pops up twice when time runs out darktygur has given a patch and clearly explained the reason for this bug.