-
Bug
-
Resolution: Fixed
-
Major
-
2.0.3
-
MOODLE_20_STABLE
-
MOODLE_21_STABLE
-
On qa.moodle.net, I exported the 4 questions in the question bank. The matching question has a blank question for which the answer is chat. When this is exported to GIFT nothing is there and thus it breaks the file on import. See below what gets exported:
// question: 2 name: Moodle activities
::Moodle activities::[html]<div class\="text_to_html">Match the activity to the description.</div>{
=<div class
="text_to_html">An activity supporting asynchronous discussions.</div> -> Forum
=<div class
="text_to_html">A teacher asks a question and specifies a choice of multiple responses.</div> -> Choice
=<div class
="text_to_html">A bank of record entries which participants can add to.</div> -> Database
=<div class
="text_to_html">A collection of web pages that anyone can add to or edit.</div> -> Wiki
= -> Chat
}
I'm not sure how you want to handle this scenario. Perhaps do a quick check that the question is not empty and if it is export a single or something. This seems like a somewhat unlikely case but since it came up during QA testing I'm setting the priority to major. Peace - Anthony
- blocks
-
MDL-27738 META Question engine rewrite - tasks to complete after main integration
- Closed
-
MDLQA-1039 CLONE - A teacher can export questions in a choice of formats
- Passed