IN the HEAD version of the module it is still using a points field which has been changed to is_correct in some places, and left points in others. This patch will fix problems with quiz results.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | quiz_is_correct_3.patch | 2.74 KB | kylebrowning |
| #6 | quiz_is_correct_2.patch | 2.17 KB | kylebrowning |
| #3 | quiz_is_correct.patch | 3.3 KB | westwesterson |
| quiz_head_variable.patch | 8.64 KB | kylebrowning |
Comments
Comment #1
westwesterson commentedthis patch has odd spacings in it, like spaces in the middle of words.... i would like to test it but cleaning it up might take a while...
Comment #2
kylebrowning commentedI used diff on a linux machine to produce this patch, not Eclipse. Reason being is I wasnt working out of CVS to produce a diff against that. I will (if i find time today) Update this patch via a CVS diff.
Thanks.
Comment #3
westwesterson commentedI have gone through and translated this patch against head. It took a while but it is still untested. I will test it later, but wanted to keep someone from doing the same work twice ;)
Comment #4
westwesterson commentedok this patch definitely breaks the module, I can't edit or add questions, or take a quiz.
Comment #5
senpai commentedIf we can get this one re-rolled properly so that it applies to today's HEAD, it might also take care of 195896 as well. At least I think it does.
Comment #6
kylebrowning commentedHere is an updated patch that will fix the quiz results.
Comment #7
kylebrowning commentedComment #8
kylebrowning commentedHere is an updated patch that fixes both multichoice.module and quiz.module for this update
Comment #9
westwesterson commentedthis looks like it might work. I remember points being replaced by is_correct, and this should clean up alot of the areas that were left behind. I will test soon, but the code looks much cleaner.
Comment #10
westwesterson commentedtested and committed. Great patch thanks!
Comment #11
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.