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

Give question type a chance to upgrade it's attempts data upon editing a question

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.9.6
    • None
    • Questions
    • None
    • MOODLE_19_STABLE

    Description

      Since editing a questions with existing attetmpts should definitely be allowed, a question type should have a possibility to change attempt data to avoid breaks (and even try to save the students answers from corruption in some cases). This could be done by adding to a question type a function like

      upgrade_existing_responses($oldquestion, $newquestion, $responses)

      It is easy to implement in question engine and will add to quiz correctess and stability without restraining the user.

      Attachments

        Activity

          People

            timhunt Tim Hunt
            oa_sychev Oleg Sychev
            Safat Shahin, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: