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

Add extra_question_fields() support to backup/restore functions

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9.3
    • 1.9.4
    • Questions
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE
    • Easy

    Description

      backup/restore function of default_questiontype class never support extra_question_fields() , thought a commentary before extra_question_fields() boldly states it does.

      Adding such functionality allows us to make backup/restore in shortanswer use extra_question_fields(), and so become more inheritable.

      The issue seems to be pretty easy, so I'm probably be able to do it by myself (I'm not talking of extra_answer_fields() support, just extra_question_fields() ). Hope you'll appreciate it and converting shortanswer to use it.

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              oa_sychev Oleg Sychev
              Safat Shahin, Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                28/Jan/09