Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-21904

Add Aiken format to the possible question export formats

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.7, 3.5.5, 3.6.3
    • Fix Version/s: 3.7
    • Component/s: Questions
    • Environment:
      All
    • Testing Instructions:
      Hide
      • You need a course with some questions, including some multichoice single answer and multichoice multi answers questions. It would also be good that some multichoice single answer questions include HTML formatting and images to verify that the export is also correct for those questions.

      Export the questions.

      1. Verify that only multichoice single answer questions are exported and that the exported text file conforms to the Aiken syntax, see https://docs.moodle.org/36/en/Aiken_format (Don't forget to verify that the spacing is correct, Aiken format is very picky about this).
      2. Try to import the file in another course and verify that the imported questions are OK (Keep in mind that a lot of question's elements are not exported by Aiken Format which is a very simple format, for instance all images, links, feedbacks, hints, ... are lost during the export process. This is not a bug, it's a limitation of the format. Also the name of the question is lost during the export process so a default name is derived from the question's text during import, that is not a bug, that is the expected result)
      3. Try the same process with a question bank category not containing any multichoice single answer question and verify that an error message saying that "No questions were found that could be exported. Make sure that you have selected a category to export that contains questions." is displayed.
      4. Verify that if if there is a multichoice single answer with more than 26 answers it is not exported as the Aiken format is not able to handle it. Don't bother to create such a question, you can just import the too_many_answers.xml file attached to this issue using Moodle XML format.
      Show
      You need a course with some questions, including some multichoice single answer and multichoice multi answers questions. It would also be good that some multichoice single answer questions include HTML formatting and images to verify that the export is also correct for those questions. Export the questions. Verify that only multichoice single answer questions are exported and that the exported text file conforms to the Aiken syntax, see  https://docs.moodle.org/36/en/Aiken_format (Don't forget to verify that the spacing is correct, Aiken format is very picky about this). Try to import the file in another course and verify that the imported questions are OK (Keep in mind that a lot of question's elements are not exported by Aiken Format which is a very simple format, for instance all images, links, feedbacks, hints, ... are lost during the export process. This is not a bug, it's a limitation of the format. Also the name of the question is lost during the export process so a default name is derived from the question's text during import, that is not a bug, that is the expected result) Try the same process with a question bank category not containing any multichoice single answer question and verify that an error message saying that " No questions were found that could be exported. Make sure that you have selected a category to export that contains questions. " is displayed. Verify that if if there is a multichoice single answer with more than 26 answers it is not exported as the Aiken format is not able to handle it. Don't bother to create such a question, you can just import the too_many_answers.xml file attached to this issue using Moodle XML format.
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE
    • Pull Master Branch:

      Description

      Would like to be able to export questions in the Aiken format. Currently you can only import Aiken.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                7 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  20/May/19

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours
                  4h