-
Bug
-
Resolution: Fixed
-
Critical
-
2.1.5, 2.2, 2.3
-
MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
-
MOODLE_21_STABLE, MOODLE_22_STABLE
-
MDL-32630-workshop-calendar -
- use CLI upgrade script
-
see http://moodle.org/mod/forum/discuss.php?d=201260
Sorry, but you do not currently have permissions to update calendar event
More information about this error
Stack trace:
- line 435 of /lib/setuplib.php: moodle_exception thrown
- line 1912 of /calendar/lib.php: call to print_error()
- line 2306 of /calendar/lib.php: call to calendar_event->update()
- line 1445 of /mod/workshop/lib.php: call to calendar_event::create()
- line 356 of /mod/workshop/db/upgrade.php: call to workshop_calendar_update()
- line 540 of /lib/upgradelib.php: call to xmldb_workshop_upgrade()
- line 271 of /lib/upgradelib.php: call to upgrade_plugins_modules()
- line 1437 of /lib/upgradelib.php: call to upgrade_plugins()
- line 269 of /admin/index.php: call to upgrade_noncore()
Solution:
1/ modify events api to include $checkcapability=true parameter the same way as update() method
2/ use this new parameter in workshop_calendar_update()
- has been marked as being related by
-
CONTRIB-3625 Sorry, but you do not currently have permissions to update calendar event erro ehn upgrading mod_hotpot
- Resolved
- is a regression caused by
-
MDL-25660 Workshop submission deadlines do not appear on calendar
- Closed
- will be (partly) resolved by
-
MDL-32631 calendar_event::update() should not do capability checks
- Closed