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

Backup: Missing Groups

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.0.1
    • Backup
    • None
    • PostgreSQL
    • MOODLE_20_STABLE

      Steps to reproduce
      ==============

      1. Create a new course.
      2. Enrol some users.
      3. Create some groups and assign the users.
      4. Make a backup. Keep 'Include enrolled users' checked.

      Expected result
      ===========

      Even if there is no group related activity yet the groups memberships of the enrolled users should be backed up.

      Actual result
      =========

      No groups in the groups.xml file.

      Proposed fix
      =========

      Explicitely check for 'annotated' users in class backup_groups_structure_step in backup/moodle2/backup_stepslib.php. See attached patch file.

            stronk7 Eloy Lafuente (stronk7)
            mkemmerling Markus Kemmerling
            Votes:
            3 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.