Actions
Bug #48022
closedFatal error: Call to a member function getNotificationEmail() on a non-object when saving task
Start date:
2013-05-07
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
4.7
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:
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
Updated by Thorsten Kahler over 11 years ago
- Status changed from New to Accepted
- Target version set to 4.7.11
- % Done changed from 0 to 20
- Complexity set to easy
The bug is reproducible from the code. Caused by a wrong backport for #44152 in https://review.typo3.org/17682.
Updated by Gerrit Code Review over 11 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at https://review.typo3.org/20638
Updated by Thorsten Kahler over 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 20 to 100
Applied in changeset f3f892ee2d3915b1934a7ce62cc921a3555cf8be.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed
Actions