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

Restoring of user attempts in quiz module (attached solution)

XMLWordPrintable

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

      • 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.

            timhunt Tim Hunt
            paulo.matos Paulo Matos (Inactive)
            Nobody Nobody (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

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