Actions
Bug #84553
closedUncaught TYPO3 Exception in Scheduler
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
scheduler
Target version:
-
Start date:
2018-03-29
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
8
PHP Version:
7.1
Tags:
exception_handling
Complexity:
Is Regression:
Sprint Focus:
Description
Scheduler throws an unhandled exception in method isValidTaskObject when the deserialized task is null or not an instance of AbstractTask.
Core: Exception handler (CLI): Uncaught TYPO3 Exception: Call to a member function getExecution() on null | Error thrown in file /homepages/32/d31932396/htdocs/typo3/typo3_src-8.7.12/typo3/sysext/scheduler/Classes/Scheduler.php in line 449
The two conditions of the validity check return get_class($task->getExecution()) !== '__PHP_Incomplete_Class' && $task instanceof Task\AbstractTask;
should simply be reordered for the instanceof
-check to be executed first so false
is returned immediately without calling a method of the invalid task.
Updated by Benni Mack almost 5 years ago
- Related to Bug #84973: Cannot delete invalid Scheduler task added
Updated by Benni Mack almost 5 years ago
- Status changed from New to Closed
We've fixed this with #84973 in May 2018.
Actions