Closed (duplicate)
Project:
Quiz
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
14 Sep 2007 at 06:38 UTC
Updated:
10 Dec 2007 at 18:29 UTC
Jump to comment: Most recent file
I have implemented most of the code to use update.php to upgrade to the newest version of the quiz module from version 1.1.
As of right now these are the known issues:
Score is not recalculated
Answers are not decoded from old format to new format but are not deleted so when someone writes a decoder, it can be converted to the new system.
What this does not do:
delete any necessary information which is needed for upgrade to the quiz head version.
convert your scores to the new system (maybe kscheirer can do this)
any converting from serialized to non serialized format. If it's serialized in 1.1 it isn't changed to the new schema.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | quiz_update_N.patch | 7.14 KB | westwesterson |
| #2 | update_N.patch | 7.2 KB | westwesterson |
| #1 | quiz_upgrade_0.patch | 6.41 KB | westwesterson |
| quiz_upgrade.patch | 6.36 KB | westwesterson |
Comments
Comment #1
westwesterson commentedFound 1 tiny bug.
Added vid to new quiz_node_result_options
DOWNLOAD THIS VERSION.
Comment #2
westwesterson commentedFixed the score, so that it is changed to is_correct in quiz_multichoice_answers.
Comment #3
westwesterson commentedhave sorted through the serialized arrays, unserialized they should look like the examples below.
table: quiz_question
field: properties
table: quiz_question_results
field: answer
still not sure when and if i will have time to attempt to transfer this data into the new schema via update_N
Comment #4
westwesterson commentedI have cleaned up and rerolled the old patch, for the newest version of quiz module. No other changes, aside from minor things to the documentation.
Comment #5
westwesterson commentedThis discussion has moved to another issue, this is now a duplicate.