Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-17229 Shortanswer questiontype refactoring
  3. MDL-17812

Get rid of "answers" field in "question_shortanswer" table

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.5
    • 1.9.3
    • Questions
    • None
    • MOODLE_19_STABLE
    • MOODLE_25_STABLE
    • Hide

      You need to test all aspects of shortanswer questions, and multianswer questions that contain shortanswer sub-questions.

      Before upgrading, or with Moodle 2.4, please first:

      1. Export shortanswer questions as GIFT and Moodle XML
      2. Backup and restore a course with shortanswer questions

      Run upgrade to master.

      1. Preview the shortanswer question you created earlier
      2. Edit/Delete the shortanswer question you created earlier
      3. Create, edit and delete a new shortanswer question
      4. Import the GIFT and Moodle XML questions you created earlier
      5. Verify the imported questions
      6. Restore the short answer questions course you created earlier
      7. Verify the imported questions
      8. Export shortanswer questions as GIFT and Moodle XML, and re-import and check that all the options are correctly preserved.
      9. Backup and restore a course with shortanswer questions, and check that all the settings are correctly preserved.
      10. Create edit and delete multianswer questions containing short-answer subquestions.
      11. Preivew those multianswer questions.
      Show
      You need to test all aspects of shortanswer questions, and multianswer questions that contain shortanswer sub-questions. Before upgrading, or with Moodle 2.4, please first: Export shortanswer questions as GIFT and Moodle XML Backup and restore a course with shortanswer questions Run upgrade to master. Preview the shortanswer question you created earlier Edit/Delete the shortanswer question you created earlier Create, edit and delete a new shortanswer question Import the GIFT and Moodle XML questions you created earlier Verify the imported questions Restore the short answer questions course you created earlier Verify the imported questions Export shortanswer questions as GIFT and Moodle XML, and re-import and check that all the options are correctly preserved. Backup and restore a course with shortanswer questions, and check that all the settings are correctly preserved. Create edit and delete multianswer questions containing short-answer subquestions. Preivew those multianswer questions.

      The field is obsolete, and quite bothersome when restoring, but we need to make sure we not breaking anything.

      Changes to 2.0 only probably OK, thought maybe in 1.9 we can drop filling this field without actual deleting it from db.

            timhunt Tim Hunt
            oa_sychev Oleg Sychev
            Dan Poltawski Dan Poltawski
            Ankit Agarwal Ankit Agarwal
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.