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

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.3
    • Fix Version/s: 1.9.4
    • Component/s: Questions
    • Labels:
      None
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      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

              • Assignee:
                timhunt Tim Hunt
                Reporter:
                oa_sychev Oleg Sychev
                Participants:
                Component watchers:
                Tim Hunt, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  28/Jan/09