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

Course groups don't backup correctly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0, 2.1, 2.2
    • Fix Version/s: 2.0.4, 2.1.1
    • Component/s: Backup
    • Labels:
      None
    • Database:
      MySQL
    • Testing Instructions:
      Hide
      1. Create one course (important, the course must have NO activities using groups at all).
      2. Enrol some users in the course
      3. Create some groups and add users to them
      4. Create some groupings and add groups to them
      5. Backup the course with users info
      6. Restore the course into new course
      7. TEST: Verify that groups, groupings and group members are 100% the same than the original ones.
      8. Backup the course without user info
      9. Restore the course into new course
      10. TEST: Verify that groups and groupings are 100% the same than the original ones (no group members this time).
      Show
      Create one course (important, the course must have NO activities using groups at all). Enrol some users in the course Create some groups and add users to them Create some groupings and add groups to them Backup the course with users info Restore the course into new course TEST: Verify that groups, groupings and group members are 100% the same than the original ones. Backup the course without user info Restore the course into new course TEST: Verify that groups and groupings are 100% the same than the original ones (no group members this time).
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      backup_groups_master

      Description

      To reproduce:

      1. Backup a course that has one or more groups
      2. Observe that the groups.xml does not contain any groups in the backup file

      I was able to reproduce this on demo.moodle.org. The backup from that environment is attached.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  2 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    1/Aug/11