Moodle QA

A teacher can export questions in a choice of formats

Details

Description

This test requires a question bank containing various types of question.

1. Login as a teacher and follow the questions link in the course administration block.
2. Try exporting questions in each of the formats: GIFT, Moodle XML, IMS QTI 2.0 and XHTML.
3. Download the files from the backupdata/quiz folder in course files.
4. Try importing the GIFT and Moodle XML files to a question bank in a different course.
5. Check that the questions are restored correctly.

Issue Links

Activity

Hide
Mónico Briseño Cortés added a comment -

Step 3 fail. I attached a screenshot.

Show
Mónico Briseño Cortés added a comment - Step 3 fail. I attached a screenshot.
Hide
Mónico Briseño Cortés added a comment -
Show
Mónico Briseño Cortés added a comment - I create an Issue http://tracker.moodle.org/browse/MDL-24404
Hide
Helen Foster added a comment -

Monico, thanks for running this test. It seems that the previously reported issue MDL-15573 has not yet been fixed.

Please see MDLQA-245 for comments about previous attempts to run this test.

Show
Helen Foster added a comment - Monico, thanks for running this test. It seems that the previously reported issue MDL-15573 has not yet been fixed. Please see MDLQA-245 for comments about previous attempts to run this test.
Hide
Helen Foster added a comment -

Thanks to Dongsheng and everyone who helped fix MDL-15573.

Resetting this test for it to be re-run.

Show
Helen Foster added a comment - Thanks to Dongsheng and everyone who helped fix MDL-15573. Resetting this test for it to be re-run.
Hide
Bryan Waddington added a comment -

Exporting a bank of 4 questions as Moodle XML format produces the following error:

XML Parsing Error: no element found
Location: http://bjw9.vledev.open.ac.uk/moodle2/pluginfile.php/22/question/export/2/xml/withcategories/withcontexts/export.xml?forcedownload=1
Line Number 1, Column 1:

filed as MDL-25103

Show
Bryan Waddington added a comment - Exporting a bank of 4 questions as Moodle XML format produces the following error: XML Parsing Error: no element found Location: http://bjw9.vledev.open.ac.uk/moodle2/pluginfile.php/22/question/export/2/xml/withcategories/withcontexts/export.xml?forcedownload=1 Line Number 1, Column 1: filed as MDL-25103
Hide
Helen Foster added a comment -

Bryan, thanks for running this test and reporting the issue you came across.

I've just linked the two issues which Tim mentioned he is working on to this test. Once they are fixed, the test can be reset.

Show
Helen Foster added a comment - Bryan, thanks for running this test and reporting the issue you came across. I've just linked the two issues which Tim mentioned he is working on to this test. Once they are fixed, the test can be reset.
Hide
Helen Foster added a comment -

As both issues are now fixed, I'm going to reset this test so it can be run again.

Show
Helen Foster added a comment - As both issues are now fixed, I'm going to reset this test so it can be run again.
Hide
Elena Ivanova added a comment -

I have just tried QA site:
Regardless of the Export format that I select, I am getting the "export.xml" files
So, only .xml extension is provided, but I believe that I should get .txt if i select GIFT, .zip if I select IMS QTI, etc.

Show
Elena Ivanova added a comment - I have just tried QA site: Regardless of the Export format that I select, I am getting the "export.xml" files So, only .xml extension is provided, but I believe that I should get .txt if i select GIFT, .zip if I select IMS QTI, etc.
Hide
Helen Foster added a comment -

Thanks Elena, can't believe nobody spotted that before now!

MDL-25104 and MDL-25088 have both been reopened. Once they're re-fixed hopefully this test will finally pass! Many thanks to Tim and Dongsheng for their hard work.

Show
Helen Foster added a comment - Thanks Elena, can't believe nobody spotted that before now! MDL-25104 and MDL-25088 have both been reopened. Once they're re-fixed hopefully this test will finally pass! Many thanks to Tim and Dongsheng for their hard work.
Hide
Helen Foster added a comment -

Yes! This test finally passes Export files also correctly named (MDL-25324). Thanks everyone!

Show
Helen Foster added a comment - Yes! This test finally passes Export files also correctly named (MDL-25324). Thanks everyone!
Hide
Elena Ivanova added a comment -

hm QA still; has this issue: only gives me .xml files
Am I doing something wrong, or QA is not updated yet?

Show
Elena Ivanova added a comment - hm QA still; has this issue: only gives me .xml files Am I doing something wrong, or QA is not updated yet?
Hide
Helen Foster added a comment -

Don't worry Elena, the QA Testing site is not yet updated. The next update is due 00:10 GMT.

Show
Helen Foster added a comment - Don't worry Elena, the QA Testing site is not yet updated. The next update is due 00:10 GMT.
Hide
Elena Ivanova added a comment -

ah, cool

Show
Elena Ivanova added a comment - ah, cool

People

Vote (0)
Watch (3)

Dates

  • Created:
    Updated:
    Resolved: