[BUGFIX] Scheduler now throws OutOfBoundsException on SQL query error 56/40256/2
authorMathias Schreiber <mathias.schreiber@wmdb.de>
Mon, 15 Jun 2015 15:59:48 +0000 (17:59 +0200)
committerBenjamin Mack <benni@typo3.org>
Mon, 15 Jun 2015 17:21:37 +0000 (19:21 +0200)
commitd975ed579a4ce510cfbea86cc8cf1b60c9017071
tree6007accfaa9ad25bd9d88ca06c086dc3bd47c0a2
parentbdf8eae236f476bd2e8b3b4c130ba7c391606617
[BUGFIX] Scheduler now throws OutOfBoundsException on SQL query error

If the query for fetchTask fails for whatever reason, scheduler will
now gracefully throw an exception instead of assuming it had gotten
a valid resource pointer

Resolves: #67463
Related: #39085
Releases: master, 6.2
Change-Id: I26819df3fd173b36de6121100a6398ed4b701319
Reviewed-on: http://review.typo3.org/40256
Reviewed-by: Lienhart Woitok <lienhart.woitok@netlogix.de>
Tested-by: Lienhart Woitok <lienhart.woitok@netlogix.de>
Reviewed-by: Stephan GroƟberndt <stephan@grossberndt.de>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
typo3/sysext/scheduler/Classes/Scheduler.php