[BUGFIX] Scheduler now throws OutOfBoundsException on SQL query error 63/40263/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:22:06 +0000 (19:22 +0200)
commit4eff8986590b15f2e956a41668e3878ecee8d168
treec481a5fd668399d41db68bfb538a115c3a2e7782
parentc90515e536efc559c32170bebb728f5fd8546c60
[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
(cherry picked from commit d975ed579a4ce510cfbea86cc8cf1b60c9017071)
Reviewed-on: http://review.typo3.org/40263
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
typo3/sysext/scheduler/Classes/Scheduler.php