Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-5740 Moodle 2.6 QA
  3. MDLQA-6250

CLONE - Backup/Restore of groups without ID number permission

    XMLWordPrintable

    Details

    • Type: Functional Test
    • Status: Passed
    • Priority: Critical
    • Affects Version/s: Moodle 2.6
    • Fix Version/s: Moodle 2.6
    • Component/s: Groups
    • Labels:
      None

      Description

      Test Pre-requisites:

      Create Test Data

      1. As an admin, create a new course
      2. Navigate to Settings -> Course administration -> Users -> Enrolled users
      3. Enrol a teacher in the course
      4. Navigate to Settings -> Course administration -> Users -> Permissions
      5. Remove 'Teacher' from the permission 'moodle/course:changeidnumber'
      6. Navigate to Settings -> Course administration -> Users -> Groups
      7. Create 4 new groups with those corresponding values:

      You will need to click on the 'Show advanced' button to set the Group ID number.

      Group name Group ID number
      group-id-1 group-id-1
      group-id-2 group-id-2
      group-noid-1  
      group-noid-2  

      6. Back on the groups page, click on the tab 'Groupings'
      7. Create 4 new groupings

      Grouping name Grouping ID number
      grouping-id-1 grouping-id-1
      grouping-id-2 grouping-id-2
      grouping-noid-1  
      grouping-noid-2  

      Test steps:

      1. As an admin, navigate to Settings -> Course administration -> Backup
      2. Backup the course making sure you select 'User data' and set the filename to 'test_id_number.mbz'
      3. Navigate to Settings -> Course administration -> Users -> Groups
      4. Delete 'group-id-1' and 'group-noid-1'
      5. Switch to 'Groupings' and delete 'grouping-id-1' and 'groupind-noid-1'
      6. Login as the teacher and navigate to Settings -> Course administration -> Restore
      8. Select 'Restore' for 'test_id_number.mbz'. Click continue.
      9. Restore using the button 'Continue' under 'Restore into this course' with 'Merge the backup course into this course' selected.
      10. Confirm that 'group-id-1' and 'group-noid-1' have been created but none of them have an ID number
      11. Confirm that 'grouping-id-1' and 'grouping-noid-1' have been created but none of them have an ID number

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: