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

Enrolment page very slow (freezes)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2.6, 2.3, 2.3.3, 2.4
    • 2.2.7, 2.3.4, 2.4.1
    • Enrolments
    • None
    • MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • wip-MDL-33448-m24
    • 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.

    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.

      Attachments

        Issue Links

          Activity

            People

              samhemelryk Sam Hemelryk
              fred Frédéric Massart
              Dan Poltawski Dan Poltawski
              Dan Poltawski Dan Poltawski
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/Jan/13