[BUGFIX] Use proper exception messages for Scheduler::fetchTask() 85/59385/6
authorStefanos Karasavvidis <sk@karasavvidis.gr>
Wed, 9 Jan 2019 13:16:51 +0000 (15:16 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Fri, 1 Feb 2019 16:44:57 +0000 (17:44 +0100)
commit08295e09d86603ab6121ac7732dae0361e564bea
tree35ca39b8940f2be020a8dca80b3411f71bb1b349
parente0646bd4f1f3b5799e56033d4ca3a1cf49b489b7
[BUGFIX] Use proper exception messages for Scheduler::fetchTask()

Use a proper message in case a non existent uid was passed and
correctly handle the case where no task uid was passed and no task
is overdue.

Resolves: #87375
Releases: master, 9.5, 8.7
Change-Id: I69d2798cc185451c889bf37d8a007eacf572c163
Reviewed-on: https://review.typo3.org/59385
Reviewed-by: Daniel Goerz <daniel.goerz@posteo.de>
Tested-by: Daniel Goerz <daniel.goerz@posteo.de>
Tested-by: TYPO3com <noreply@typo3.com>
Reviewed-by: Fabien Udriot <fabien.udriot@ecodev.ch>
Tested-by: Fabien Udriot <fabien.udriot@ecodev.ch>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/scheduler/Classes/Scheduler.php