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

Debugging error when changing roles in category

    XMLWordPrintable

    Details

    • Story Points:
      5
    • Sprint:
      BACKEND Sprint 13

      Description

      I encountered the following message:

      Inconsistent courseid - context combination detected.
       
          line 247 of /lib/classes/event/base.php: call to debugging()
          line 144 of /admin/roles/override.php: call to core\event\base::create()
      

      to replicate -

      1. open course category,
      2. click on "permissions",
      3. select any role from "Advanced" dropdown
      4. Change any permission

      I'll create a related improvement to trigger event from inside of assign_capability()

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/Jul/14