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

course/index.php?categoryedit=on not useable with 1600 categories

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      use the attached script to create multiple categories in your install.
      visit /course/index.php?categoryedit=on

      The page takes ages to load - this is only with 940 empty categories.

      Show
      use the attached script to create multiple categories in your install. visit /course/index.php?categoryedit=on The page takes ages to load - this is only with 940 empty categories.
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_23_STABLE

      Description

      Sorry about the luxury problem, but our moodle has 1600 categories. As written in the summary, the categories are not editable anymore over course/index.php, because it takes a browser more then 5 min to display the page, which is more then 2GB after loading. Main reason is, that there are drop-down-menues at every entry, which consist of the entire category tree. So in our case it make 1601 x 1600 entries for the page. It would be better to replace the drop down menue with a button, which opens a menue for choosing the category.

      At the moment we help ourself by updating the database directly.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              marc-robin marc-robin wendt
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              3 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: