question bank: MDL-12719, MDL-15774, MDL-17105, and MDL-18174
authortjhunt <tjhunt>
Fri, 13 Feb 2009 06:11:42 +0000 (06:11 +0000)
committertjhunt <tjhunt>
Fri, 13 Feb 2009 06:11:42 +0000 (06:11 +0000)
commit24e8b9b684f1069083086f89bcbae45504da5796
tree30e884f4a89a324ef015c7b672bce48b4e244057
parent2d1e69d37bc954b2156cef5a73adbd02fe07609a
question bank: MDL-12719, MDL-15774, MDL-17105, and MDL-18174

These are all to do with the combination of the $form->category, and $form->categorymoveto fields on the question editing forms since Moodle 1.9. These are now resolved to a single ->category value in question.php, which simplifies the logic for the individual question types.

MDL-15774 and MDL-12719 errors editing Cloze question
MDL-17105 problems with qustion saving logic.
MDL-18174 'Select from subcategories' option not preserved when editing a random question.
question/question.php
question/type/multianswer/questiontype.php
question/type/questiontype.php
question/type/random/edit_random_form.php
question/type/random/questiontype.php