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

fatal error when editing role

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Log in as admin, visit Site administration ► Users ► Permissions ► Assign system roles.
      2. Click on Manager role link.
      3. Select an user and assign it the manager role.
      4. Log in as manager.
      5. Go to Site administration ► Users ► Permissions ► Define roles.
      6. Click on manager link, and then press Edit button.
      7. When the Edit role 'Manager' page load, press the Save changes.
      8. Make sure sure you don't get the following error:

        Fatal error: Class 'coursecat' not found in /home/moodle/moodles/stable_master/moodle/admin/roles/classes/define_role_table_advanced.php on line 431

      Show
      Log in as admin, visit Site administration ► Users ► Permissions ► Assign system roles. Click on Manager role link. Select an user and assign it the manager role. Log in as manager. Go to Site administration ► Users ► Permissions ► Define roles. Click on manager link, and then press Edit button. When the Edit role 'Manager' page load, press the Save changes . Make sure sure you don't get the following error: Fatal error: Class 'coursecat' not found in /home/moodle/moodles/stable_master/moodle/admin/roles/classes/define_role_table_advanced.php on line 431
    • Affected Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-53010-master
    • Sprint:
      3.1 Sprint 5

      Description

      open https://qa.moodle.net/admin/roles/define.php?action=edit&roleid=1 and press "Save changes"
      Fatal error: Class 'coursecat' not found in /var/www/vhosts/qa.moodle.net/html/admin/roles/classes/define_role_table_advanced.php on line 430

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lameze Simey Lameze
              Reporter:
              moodle.com moodle.com
              Peer reviewer:
              David Monllaó
              Integrator:
              Andrew Nicols
              Tester:
              Jun Pataleta
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/Mar/16