Details
-
Type:
Bug
-
Status: Reopened
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.4.7, 2.5.3
-
Fix Version/s: BACKEND
-
Component/s: Portfolio
-
Testing Instructions:
-
Affected Branches:MOODLE_24_STABLE, MOODLE_25_STABLE
-
Pull from Repository:
-
Pull Master Branch:MDL-42802-master
-
Pull Master Diff URL:
Description
I'm still working on reproducing this bug manually, but when a portfolio has been set to be exporter during cron, and it doesn't exist (I suppose because the user deleted it), an exception is raised and the cron stops.
++ Handler function of component moodle: s:22:"portfolio_handle_event"; threw exception :Invalid export id. Maybe it has expired
|
* line 944 of /lib/portfoliolib.php: call to portfolio_exporter::rewaken_object()
|
* line ? of unknownfile: call to portfolio_handle_event()
|
* line 299 of /lib/eventslib.php: call to call_user_func()
|
* line 343 of /lib/eventslib.php: call to events_dispatch()
|
* line 450 of /lib/eventslib.php: call to events_process_queued_handler()
|
* line 340 of /lib/cronlib.php: call to events_cron()
|
* line 61 of /admin/cli/cron.php: call to cron_run()
|
++
|
* line 366 of /lib/eventslib.php: call to debugging()
|
* line 450 of /lib/eventslib.php: call to events_process_queued_handler()
|
* line 340 of /lib/cronlib.php: call to events_cron()
|
* line 61 of /admin/cli/cron.php: call to cron_run()
|
This is highlighted by the fact that MDL-42542 has been fixed.