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

Page size is too big /course/manage.php

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5.1
    • Fix Version/s: 2.5.2
    • Component/s: Course
    • Labels:
    • Testing Instructions:
      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)
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull Master Branch:
      wip-MDL-41127-master

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              marina Marina Glancy
              Reporter:
              marina Marina Glancy
              Peer reviewer:
              Andrew Davis
              Integrator:
              Damyon Wiese
              Tester:
              Sam Hemelryk
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/Sep/13