Issue Bug Closed

#48022Fatal error: Call to a member function getNotificationEmail() on a non-object when saving task

Stephan Großberndt 05/07/13, 17:26 updated 10/23/17, 22:20

Description

In at least 4.7.4 there was no “save” button, only “save and close” when creating a new task in the scheduler. In 4.7.11 there is a “save” button next to “save and close”. When a new task is created and saved without closing, a Fatal error occurs. This only happens if the task has not been created yet, when editing an existing task saving without closing works.

Fatal error: Call to a member function getNotificationEmail() on a non-object in typo3/typo3_src-4.7.11/typo3/sysext/reports/tasks/class.tx_reports_tasks_systemstatusupdatetasknotificationemailfield.php on line 63

Call Stack:
    0.0001     669288   1. {main}() typo3/typo3_src-4.7.11/typo3/mod.php:0
    0.1074    8408264   2. require('typo3/typo3_src-4.7.11/typo3/sysext/scheduler/mod1/index.php') typo3/typo3_src-4.7.11/typo3/mod.php:45
    0.1626    8958584   3. tx_scheduler_Module->main() typo3/typo3_src-4.7.11/typo3/sysext/scheduler/mod1/index.php:40
    0.1626    8960424   4. tx_scheduler_Module->getModuleContent() typo3/typo3_src-4.7.11/typo3/sysext/scheduler/class.tx_scheduler_module.php:147
    0.1835   12015496   5. tx_scheduler_Module->editTask() typo3/typo3_src-4.7.11/typo3/sysext/scheduler/class.tx_scheduler_module.php:219
    0.2126   14454656   6. tx_reports_tasks_SystemStatusUpdateTaskNotificationEmailField->getAdditionalFields() typo3/typo3_src-4.7.11/typo3/sysext/scheduler/class.tx_scheduler_module.php:693

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.