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

Enrolment page very slow (freezes)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.6, 2.3, 2.3.3, 2.4
    • Fix Version/s: 2.2.7, 2.3.4, 2.4.1
    • Component/s: Enrolments
    • Labels:
      None
    • Testing Instructions:
      Hide
      1. Log in as an admin
      2. Browse to any course
      3. Head to Course settings > Users > Enrolled users
      4. Click "Enrol Users" button
      5. In the dialog click to expand "Enrolment options"
      6. Check that there are start date and period options.
      7. Test enrolling a user.
      Show
      Log in as an admin Browse to any course Head to Course settings > Users > Enrolled users Click "Enrol Users" button In the dialog click to expand "Enrolment options" Check that there are start date and period options. Test enrolling a user.
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull Master Branch:
      wip-MDL-33448-m24

      Description

      1. Go to a course with a few enrolled users
      2. Navigate to Settings > Course administration > Users > Enrolled users

      The page itself appears quickly but it seems like the JavaScript causes the browser to freeze for a couple of seconds. Try to scroll up and down while the page is loading to notice the freeze.
      This is not happening on 2.1 and 2.2. I reproduced this on master and master integration, with Chrome, Opera and Firefox. With about 15 enrolled users. The total user count over the site was either 15ish or 250ish. Same results.

      I will attach screenshots of Firebug and Dev tools.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    14/Jan/13