MDL-59447 question: GIFT import to respect multichoice defaults
commitb6efeb4730505ec008ce09ab562bf9a4f53a37ab
authorNick Phillips <nick.phillips@otago.ac.nz>
Thu, 13 Jul 2017 01:28:52 +0000 (13 13:28 +1200)
committerNick Phillips <nick.phillips@otago.ac.nz>
Fri, 13 Jul 2018 01:33:33 +0000 (13 13:33 +1200)
treed5f56eff47183ab71b5aae769abf59ea008efa71
parentc7d148dc202ea5667a04b8677df8b6f3b9182fc9
MDL-59447 question: GIFT import to respect multichoice defaults

Fix GIFT import to respect default answernumbering for new multichoice
questions (introduced in MDL-50011). Default for shuffleanswers is still
ignored, as this is a rather coarse-grained way to do it, and the wrong
setting for shuffleanswers would irreversibly alter the meaning of some
questions.

This is not an ideal long-term fix, but will save significant effort
for anyone who needs to be able to set answernumbering style for
questions imported in GIFT format.
question/format/gift/format.php
question/format/gift/tests/giftformat_test.php