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

Page size is too big /course/manage.php

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.5.2
    • 2.5.1
    • Course
    • MOODLE_25_STABLE
    • MOODLE_25_STABLE
    • wip-MDL-41127-master
    • Hide
      1. Create several course categories
      2. Open /course/manage.php page and make sure all move dropdowns are displayed.
      3. Move some of categories, make sure all works
      4. Add in your config.php define('COURSECAT_QUICKMOVE_LIMIT', 5); (or any number less than number of course categories)
      5. Open /course/manage.php and make sure the move dropdowns are not displayed.
      6. Move some category using form in "edit category" button, make sure it works.
      7. Remove this line from config.php
      8. Login as user with 'course creator' role. Make sure the whole column with move dropdowns is not displayed (because user does not have permission to manage categories)
      Show
      Create several course categories Open /course/manage.php page and make sure all move dropdowns are displayed. Move some of categories, make sure all works Add in your config.php define('COURSECAT_QUICKMOVE_LIMIT', 5); (or any number less than number of course categories) Open /course/manage.php and make sure the move dropdowns are not displayed. Move some category using form in "edit category" button, make sure it works. Remove this line from config.php Login as user with 'course creator' role. Make sure the whole column with move dropdowns is not displayed (because user does not have permission to manage categories)

      Because of repeating dropdowns with categories list the page /course/manage.php (for category 0) has huge size and out-of-memory exception occurs. I suggest to display dropbox for quick category move only if number of categories in the system is reasonable. Otherwise admin can always click on "edit category" link and change the parent.

            marina Marina Glancy
            marina Marina Glancy
            Andrew Davis Andrew Davis
            Damyon Wiese Damyon Wiese
            Sam Hemelryk Sam Hemelryk
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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