Closed (fixed)
Project:
Quiz
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Nov 2007 at 14:16 UTC
Updated:
22 Jun 2014 at 16:17 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
awong commentedYou can set the Number of Takes in the quiz edit page. If you set unlimited in the number of takes, then the users can retake a quiz.
But even you set the number of takes, the users still cannot retake a quiz. Because in the code, It programmed when the user had passed the quiz and if the users don't have permission to create quizzes, it return false. I think this is a bug.
Here is the patch that fix this error. Please review it and see if this is the best way to fix it. Thanks
Comment #2
bjzimmeron commentedI appreciate the patch.
Ben
Comment #3
westwesterson commentedPlease do not rename issues with undescriptive titles. If it works for you, leave a comment, or mark it RTBC.
Comment #4
westwesterson commentedCommitted
Comment #5
senpai commentedI'm still seeing the offending code in HEAD. I rolled this patch because the previous one missed the removal of the comment on the preceding line.
WestWesterson, would you try and commit this one?
Also, we should keep an eye out for this "maximum repeats" situation in the future. I have a feeling that removing this chunk of code, while necessary at the moment, is going to open up a UI bug in the very near future. Be on the lookout.
Comment #6
westwesterson commentedshould be fixed this time, i don't know how i missed it the first time.
Comment #7
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.