Project: moodle
Issue MDL-45833: Debugging error when changing roles in category
I encountered the following message: {code} 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() {code} to replicate - # open course category, # click on "permissions", # select any role from "Advanced" dropdown # Change any permission I'll create a related improvement to trigger event from inside of assign_capability()
Story points: 5