Project

General

Profile

Actions

Bug #55760

closed

Unable to create scheduler-tasks

Added by Renzo Bauen almost 11 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2014-02-07
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

In 6.2.0beta5 on can't create a schedluer-task if the mail settings in the install tool is not correct set.
This is not only true for recurring task, but also for single tasks, where on can't give a notification mail address!


Files


Related issues 2 (0 open2 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
Actions #1

Updated by Peter Niederlag almost 11 years ago

  • Status changed from New to Needs Feedback

Can you please describe in more detail the error that shows up and what setup is required to run into the issue?
I couldn' reproduce it on current master (intentionallly breaking mail setup I could still add and execute scheduler tasks from the BE).

Actions #2

Updated by Renzo Bauen almost 11 years ago

OK, here is what i did:

(i use PHP 5.3.10 and TYPO3 6.2.0beta5 from typo3.org download section)

1. Download tar.gz-file
2. expanded to typo3_src-6.2.0beta5/
3. symlinks generated for index.php, typo3_src and typo3
4. firefox started and gone to the beta62 web
5. installtool: setup new database, checked if imagemagick works as expected (no changes to mail-settings, sendmail is not installed on this machine).
6. logged in to the BE
7. downloaded the german language and switched the language of the admin user
8. schedulers ext_emconf.php edited (dependency 6.2.0-6.2.99 changed to 6.2-6.2.99) in order to be able to install this ext
9. click scheduler icon
10. checked the configuration and created the user _cli_scheduler by the offered link
11. clicked on new task
12. selected task "update extension list", type=single, description=test, all other fields unchanged
13. clicked on save

The window gets gray = empty. Only the lefthand menu is visible (no pagetree, no content).
A click on the scheduler icon brings back the expected content, but the list says "no tasks defined yet".

Here the apache error log:
[Fri Feb 07 16:59:53 2014] [error] [client 127.0.0.1] PHP Fatal error: Call to a member function getNotificationEmail() on a non-object in /var/www/typo3_src-6.2.0beta5/typo3/sysext/reports/Classes/Task/SystemStatusUpdateTaskNotificationEmailField.php on line 59, referer: http://www.beta62.localhost/typo3/mod.php?M=system_txschedulerM1&CMD=add
[Fri Feb 07 16:59:53 2014] [error] [client 127.0.0.1] PHP Stack trace:, referer: http://www.beta62.localhost/typo3/mod.php?M=system_txschedulerM1&CMD=add
[Fri Feb 07 16:59:53 2014] [error] [client 127.0.0.1] PHP 1. {main}() /var/www/typo3_src-6.2.0beta5/typo3/mod.php:0, referer: http://www.beta62.localhost/typo3/mod.php?M=system_txschedulerM1&CMD=add
[Fri Feb 07 16:59:53 2014] [error] [client 127.0.0.1] PHP 2. require() /var/www/typo3_src-6.2.0beta5/typo3/mod.php:41, referer: http://www.beta62.localhost/typo3/mod.php?M=system_txschedulerM1&CMD=add
[Fri Feb 07 16:59:53 2014] [error] [client 127.0.0.1] PHP 3. TYPO3\\CMS\\Scheduler\\Controller\\SchedulerModuleController->main() /var/www/typo3_src-6.2.0beta5/typo3/sysext/scheduler/mod1/index.php:36, referer: http://www.beta62.localhost/typo3/mod.php?M=system_txschedulerM1&CMD=add
[Fri Feb 07 16:59:53 2014] [error] [client 127.0.0.1] PHP 4. TYPO3\\CMS\\Scheduler\\Controller\\SchedulerModuleController->getModuleContent() /var/www/typo3_src-6.2.0beta5/typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php:148, referer: http://www.beta62.localhost/typo3/mod.php?M=system_txschedulerM1&CMD=add
[Fri Feb 07 16:59:53 2014] [error] [client 127.0.0.1] PHP 5. TYPO3\\CMS\\Scheduler\\Controller\\SchedulerModuleController->editTask() /var/www/typo3_src-6.2.0beta5/typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php:205, referer: http://www.beta62.localhost/typo3/mod.php?M=system_txschedulerM1&CMD=add
[Fri Feb 07 16:59:53 2014] [error] [client 127.0.0.1] PHP 6. TYPO3\\CMS\\Reports\\Task\\SystemStatusUpdateTaskNotificationEmailField->getAdditionalFields() /var/www/typo3_src-6.2.0beta5/typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php:639, referer: http://www.beta62.localhost/typo3/mod.php?M=system_txschedulerM1&CMD=add

Thats all i have for you!

Best Regards
Renzo

Actions #3

Updated by Johannes Eder almost 11 years ago

I've got the same issue on TYPO3 6.1.7

Any Ideas???

Actions #4

Updated by Johannes Eder almost 11 years ago

Lösung gefunden!!!

Schuld ist die EXT:direct_mail! Dort sind in der Datei /typo3conf/ext/direct_mail/Classes/Scheduler/MailFromDraft_AdditionalFields.php
keine Namespaces verwendet worden.

Siehe Anhang

Actions #5

Updated by Renzo Bauen almost 11 years ago

It might be the case in 6.1.7 but in 6.2 it happens on a fresh installation, without any third party extension.

Actions #6

Updated by Satish Maurya over 10 years ago

Hi,

I have merged my file with attached file but still getting same issue. My installation is Typo3 6.1.7

After clicking "Save" button: Return blank page without adding task.
After clicking "Save and Close" button: Return message "The task could not be added." without adding task.

Any suggestion.

Thanks in Advance!

Johannes Eder wrote:

Lösung gefunden!!!

Schuld ist die EXT:direct_mail! Dort sind in der Datei /typo3conf/ext/direct_mail/Classes/Scheduler/MailFromDraft_AdditionalFields.php
keine Namespaces verwendet worden.

Siehe Anhang

Actions #7

Updated by Renzo Bauen over 10 years ago

In the final Version of 6.2 everything works fine!

Therefore this issue can be closed.

Actions #8

Updated by Wouter Wolters over 10 years ago

  • Status changed from Needs Feedback to Closed
Actions #9

Updated by i laz about 10 years ago

I get the same error after upgrading from 4.5.36 to 6.2.5.

Fatal error: Call to a member function getNotificationEmail() on a non-object in typo3_src-6.2.5/typo3/sysext/reports/Classes/Task/SystemStatusUpdateTaskNotificationEmailField.php on line 49

Therefore, I 've created a new ticket: https://forge.typo3.org/issues/62274

Thank you in advance!

Actions #10

Updated by Stephan Großberndt almost 7 years ago

  • Subject changed from Unabel to create scheduler-tasks to Unable to create scheduler-tasks
Actions

Also available in: Atom PDF