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

Enrollment Sub-Menu Removes 26th person on list when someone from the first 25 list are added

    Details

    • Testing Instructions:
      Hide
      1. Ensure that the site has > 50 users
      2. Create a Course
      3. Make sure that you have manual enrolments set on the course
      4. Go to Course Admin>Users>Enrolled Users
      5. Click the Enrol Users button to bring up the sub menu
      6. Scroll down and show the Next 25
      7. Make Note of who is #26
      8. Close the sub menu
      9. Open the Enrol Users sub menu again
      10. Select user in numbers 1 - 5 (for simplicity sake) and enrol them
      11. Scroll down in the menu and click Next 25

      Make sure user #26 is there and the list didn't skip any user.

      Show
      Ensure that the site has > 50 users Create a Course Make sure that you have manual enrolments set on the course Go to Course Admin>Users>Enrolled Users Click the Enrol Users button to bring up the sub menu Scroll down and show the Next 25 Make Note of who is #26 Close the sub menu Open the Enrol Users sub menu again Select user in numbers 1 - 5 (for simplicity sake) and enrol them Scroll down in the menu and click Next 25 Make sure user #26 is there and the list didn't skip any user.
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      When you go to the enrol users submenu, after you enrol someone within the first 25 on the list and then go to Next 25, the person who was #26 on the list is missing and the others are pushed up (in that #26 is now really #27 from before.)

      Replication steps:

      {Ensure that the site you are testing this in has > 50 users}
      1. Create a Course
      2. Make sure that you have manual enrolments set on the course
      3. Go to Course Admin>Users>Enrolled Users
      4. Click the Enrol Users button to bring up the sub menu
      5. Scroll down and show the Next 25
      6. Make Note of who is #26 and #51
      7. Close the sub menu
      8. Open the Enrol Users sub menu again
      9. Select user in numbers 3, 26 and 28 and enrol them
      10. Scroll down in the menu and click Next 25

      Actual result: The #26 person who was noted earlier is not there any more.

      Expected result: User #26 and #51 should be there.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Mar/13