[BUGFIX] Scheduler now throws exception on SQL query error 61/36261/2
authorMathias Schreiber <mathias.schreiber@wmdb.de>
Sat, 24 Jan 2015 10:49:54 +0000 (11:49 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 26 Jan 2015 01:18:34 +0000 (02:18 +0100)
commitdd83b7093d5bc34e0d3ad5675b6cc89d9ef3823b
treef0d466d77fd56ab58c89f95ab6fbddcbb8b0dad1
parentccf41aee083edae50f8da54e26711002bf0a4ea1
[BUGFIX] Scheduler now throws exception 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: #39085
Releases: master, 6.2
Change-Id: If4d5e0866bf6e5e17fcafbf4287e330366d995fa
Reviewed-on: http://review.typo3.org/36261
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/scheduler/Classes/Scheduler.php