On the site we run, we do not want quiz results reset even after the quizzes have been revised. Unfortunately the Quiz module seems to have taken the opposite approach on how to handle quiz results when quizzes are revised and has implemented a triply-redundant system to make sure that a new revision ID is generated for the quiz, thus nullifying user quiz results.
Even after jumping through all the necessary hoops (give "manual quiz revisioning" permission to admins, set "auto revisioning" configuration setting off, disable "Create a new revision" for quiz content type) the "Create a new revision" checkbox is still checked by default; thus, the user must be careful to make sure the checkbox is unchecked before saving the node. This is undesirable as we wish to have this checkbox unchecked by default, but since the Quiz module does not respect the content type revision configuration it is impossible to change this behavior through the interface.
This appears to have been an oversight in the code. I have included a patch which will have the Quiz module respect the content type "Create a new revision" setting when a user has permission to manually manage quiz revisions and when the auto-revisioning configuration is turned off.
| Comment | File | Size | Author |
|---|---|---|---|
| quiz_fix-for-auto-revisioning.patch | 809 bytes | caesius |
Comments
Comment #1
dmegatool commentedThx ! I really needed this. I applied it to the 7.x-4.0 beta1 and it seems to be working just fine. It's great to have control on the revision now.
Comment #2
sivaji_ganesh_jojodae commentedThanks for the patch.
Comment #3.0
(not verified) commentedminor addendum