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

Page times out when deleting large number of courses

XMLWordPrintable

    • MOODLE_28_STABLE
    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • MDL-48456-master
    • Easy
    • Hide
      • Install moosh: http://moosh-online.com/
      • Using moosh create a lot of courses (around 1000 will be more than enough). To do so run command moosh course-create coursename {1..255} few times changing coursename. Note: it'll add courses to default 'Misc' category. If you want to add courses to another category specify category id using -c option e.g. moosh course-create -c 5 course{1..255}
      • Go to administration -> courses -> manage courses and categories
      • Select your category. From dropdown menu select 'delete'
      • Confirm deletion
      • Verify that deletion completed and all courses along with category are deleted.
      Show
      Install moosh: http://moosh-online.com/ Using moosh create a lot of courses (around 1000 will be more than enough). To do so run command moosh course-create coursename {1..255} few times changing coursename. Note: it'll add courses to default 'Misc' category. If you want to add courses to another category specify category id using -c option e.g. moosh course-create -c 5 course{1..255} Go to administration -> courses -> manage courses and categories Select your category. From dropdown menu select 'delete' Confirm deletion Verify that deletion completed and all courses along with category are deleted.

      Steps to reproduce:

      • Create a large number of courses in a single category
      • Attempt to delete the category and select the option to delete all the courses

      Expected result:

      • The categories are deleted and progress is displayed to stop the page frm timing out

      Actual result:

      • On a server with a proxy in front of it the page times out because no content has been recieved

      A category in a Moodle site has 2646 courses. I tried to delete them all by deleting the category and selecting for the courses to go when the category went. However, it timed out after a few minutes with an error 504. Some courses had been deleted but there are still 1972 left.

            dkns Daniel Kosinski
            marycooch Mary Cooch
            John Okely John Okely
            David Monllaó David Monllaó
            Adrian Greeve Adrian Greeve
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.