Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.10
-
Component/s: Tasks
-
Testing Instructions:
-
Affected Branches:MOODLE_310_STABLE
-
Fixed Branches:MOODLE_310_STABLE, MOODLE_39_STABLE
-
Pull from Repository:
-
Pull 3.9 Branch:
MDL-70357-39-cronlibthrowables -
Pull 3.10 Branch:
MDL-70357-310-cronlibthrowables -
Pull 3.11 Branch:
MDL-70357-311-cronlibthrowables -
Pull Master Branch:
MDL-70357-master-cronlibthrowables
Description
As was noticed in MDLSITE-6261, PHP errors are not properly handled by the scheduled and adhoc tasks runner.
If there is a problem in the code that leads to throwing "Error" instance, e.g. as in
...
|
* line 110 of /course/classes/search/customfield.php: Error thrown
|
...
|
this is not caught and leads to further errors related to locking.