Project

General

Profile

Actions

Bug #48022

closed

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

Added by Stephan Großberndt almost 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Category:
-
Target version:
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

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #62274: Regression: Unable to create scheduler-tasksClosed2014-10-16

Actions
Related to TYPO3 Core - Bug #79141: Unable to create scheduler tasks: Call to a getNotificationEmail() on null ClosedStephan Großberndt2017-01-03

Actions
Blocked by TYPO3 Core - Task #44152: Add save only buttonClosed2012-12-20

Actions
Actions #1

Updated by Thorsten Kahler almost 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.

Actions #2

Updated by Gerrit Code Review almost 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

Actions #3

Updated by Thorsten Kahler almost 11 years ago

  • Assignee set to Thorsten Kahler
Actions #4

Updated by Thorsten Kahler almost 11 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 20 to 100
Actions #5

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF