I created a multi choice question. Then, selected Multiple answers, Random order, and simple scoring and saved the question.
I clicked Edit to see if my settings had been stored. They had not.
Confirmed this by taking the quiz. Only single choice settings were available.
Here's the error message:
Notice: Undefined property: stdClass::$choice_random in MultichoiceQuestion->getNodeView() (line 390 of /home/dwbio/public_html/new/sites/all/modules/quiz/question_types/multichoice/multichoice.classes.inc).
Notice: Undefined property: stdClass::$choice_multi in MultichoiceQuestion->getAnsweringForm() (line 434 of /home/dwbio/public_html/new/sites/all/modules/quiz/question_types/multichoice/multichoice.classes.inc).
Notice: Undefined property: stdClass::$choice_boolean in MultichoiceQuestion->getDefaultAltSettings()
It looks like the three choices are all undefined properties.
Comments
Comment #2
sandra@digitalworldbiology.com CreditAttribution: sandra@digitalworldbiology.com as a volunteer commentedI found that I can get the option to save these settings to return if I clone the question.
In the cloned node or a completely new node, the options can be saved.
Maybe the problem is occurring because I wrote some of these questions in April?
Comment #3
djdevinThis should be fixed once #2600524: Getting Undefined property: stdClass::$revision in MultichoiceQuestion is fixed. The save code was a little buggy.