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

Restoring of user attempts in quiz module (attached solution)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.5.4
    • 1.6.7, 1.7.5, 1.8.6, 1.9.1
    • Quiz
    • None
    • All
    • MOODLE_15_STABLE
    • MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE

    Description

      • Introduction:

      This issue AFAIK was discussed on MDL-3159, and reported on bugs #4054, #4139 and #4608.

      At quiz changelog, appears the following entry:

      2005-06-06 Monday 04:25 gustav_delius * restorelib.php: Restoring of user attempts and states disabled for now, see MDL-3159

      I found a post at moodle forums, see:

      http://moodle.org/mod/forum/discuss.php?d=30923

      This post has a version of restorelib.php with attempts restore implemented.

      I've used this modified version verifying the code against latest stable CVS version which at this time is 1.58.2.6 2006/02/14 22:55:11, for a mass restore due to an hard disk crash.

      • Now, some interesting numbers involved on this work:
      • 6989 users;
      • 773 courses;
      • 385 quiz;
      • 9041 questions;
      • 21025 attempts;

      and 72 long hours recovering it .

      All restored quizzes seem to be OK. For now, there were no problems detected among dozens of hand verifications. If some problem appears, I'll report them here.

      Hope Gustav can integrate this code, will surely be very appreciated by moodle community.

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              paulo.matos Paulo Matos
              Nobody Nobody
              Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                15/May/08