Project

General

Profile

Actions

Bug #54120

closed

Scheduler crashes after update on cleanup

Added by Christian no-lastname-given over 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
-
Target version:
-
Start date:
2013-12-01
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
Yes
Sprint Focus:

Description

After updating TYPO3 4.7 to latest bugfix version, the scheduler crashes all the time with the following error message:

    Fatal error: Call to a member function getExecutionTime() on a non-object in /var/www/bph/typo3_src-4.7.16/typo3/sysext/scheduler/class.tx_scheduler.php on line 113

The bug was introduced with that commit:

https://git.typo3.org/Packages/TYPO3.CMS.git/commitdiff/d361b2999c8ba8d1cdb218ead4f60ef1de9fe458

The $task variable in that case is in fact an integer and not an object, so just reverting would be fine (I guess that changed in the 6.x branch and the commit somehow made it into 4.x?).

Actions

Also available in: Atom PDF