Issue Bug Closed

#79141Unable to create scheduler tasks: Call to a getNotificationEmail() on null

Christian Weiske 01/03/17, 13:49 updated 10/02/18, 11:04

Description

On a TYPO3 7.6.10 instance I cannot create scheduler tasks. Whenever trying to save a new scheduler task, I get an exception:

> Call to a member function getNotificationEmail() on null
> Error thrown in file
> /var/www/site/htdocs/typo3_src/typo3/sysext/reports/Classes/Task/SystemStatusUpdateTaskNotificationEmailField.php in line 49.
>
> called in TYPO3\CMS\Scheduler\Controller\SchedulerModuleController::editTaskAction()
> $additionalFields = $providerObject->getAdditionalFields($taskInfo, null, $this);

SystemStatusUpdateTaskNotificationEmailField gets called with a null task, but it unconditionally calls $task->getNotificationEmail().

Reviews 2