[BUGFIX] Fix deletion of invalid tasks 73/56973/2
authorMathias Brodala <mbrodala@pagemachine.de>
Mon, 14 May 2018 09:37:57 +0000 (11:37 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 16 May 2018 09:43:50 +0000 (11:43 +0200)
commit44a4e260b1f3058ab2bc9fcbefb583f1a3c5ad23
treebb0ec6e8694081abe425364d619a56dbf538e0a7
parent4a631a36b81d50a8522dc61f631e427250a032a6
[BUGFIX] Fix deletion of invalid tasks

If the class of a registered task is missing, e.g. because the related
extension has been removed, the task itself will be unserialized into
an __PHP_Incomplete_Class object. Checking the task execution is an
invalid access in this case and must be avoided for such tasks to be
deleted.

Resolves: #84973
Releases: master, 8.7
Change-Id: Iaec8a5e346a0d6257a942cbead50b214036ed700
Reviewed-on: https://review.typo3.org/56973
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/scheduler/Classes/Scheduler.php