-
Bug
-
Resolution: Fixed
-
Minor
-
3.5.12, 3.6.10, 3.7.6, 3.8.3, 3.9
-
MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
-
MOODLE_310_STABLE, MOODLE_39_STABLE
-
The "Accepted file types" field was added to the Essay question in version 3.5. However, the XML import/export facility was not updated to support this new field. The steps to reproduce are as follows.
- Go to a course and navigate into the Course > Question bank page.
- In the Question bank > Categories page, create a new category "Essay File Types".
- Go to the Question bank > Questions page, select the "Essay File Types" category, and create a new Essay question.
- Fill in the required fields, set the "Accepted file types" field to ".docx", and save the question.
- Go to the Question bank > Export page, select the File format as "Moodle XML format", select the category "Essay File Types" in the "Export category" field, and click the "Export questions to file" button. The Essay question will be downloaded to a text file in XML format.
- Open the file in a text editor and inspect the XML for the essay question. There is no element "<acceptedfiletypes>" or similar, so the export facility doesn't handle it.