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

Course backup does not restore users marked as deleted in database

XMLWordPrintable

    • MOODLE_30_STABLE

      Users that are marked as deleted in the database do not get restored as part of the course backup/restore process.

      Steps to replicate

      1. Take backup of a course with enrolled users and user data included
      2. Delete a user enrolled in the course from the site
      3. Restore the course backup taken as a new course
      4. Check if deleted user is enrolled in the course
      5. Check for the deleted user on the site

      Expected result

      The deleted user should be present on the site and within the course that has been restored.

      Actual result

      The deleted user is not restored to the site or course and is still marked as deleted in the database.

      For testing purposes, I manually deleted the user from the database and restored the course backup again and it successfully reinstated the user to the site and course.

            Unassigned Unassigned
            jamie.biddulph Jamie Biddulph
            Votes:
            1 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.