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

mod_quiz user overrides are not restored properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.7.8, 2.8.6
    • 2.8, 2.9
    • Backup, Quiz
    • MOODLE_28_STABLE, MOODLE_29_STABLE
    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • MDL-49803_master
    • Hide
      1. Create a course + a quiz instance
      2. Add group and user overrides
      3. Backup the course with user info
      4. Restore it
      5. Access the restored quiz group overrides and useroverrides
      6. They SHOULD be properly restored
      Show
      Create a course + a quiz instance Add group and user overrides Backup the course with user info Restore it Access the restored quiz group overrides and useroverrides They SHOULD be properly restored

      While testing https://tracker.moodle.org/browse/MDL-49642 markn noticed that user overrides were not being updated. Tracking the problem, when we restore the quiz, get_mappingid sets the userid or the groupid to 0. The override cleanup process deletes these records as they expect a null value.

            dmonllao David Monllaó
            dmonllao David Monllaó
            Tim Hunt Tim Hunt
            Dan Poltawski Dan Poltawski
            Frédéric Massart Frédéric Massart
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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