Bug #54120
closedScheduler crashes after update on cleanup
100%
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?).
Updated by Markus Klein about 11 years ago
- Status changed from New to Accepted
- TYPO3 Version changed from 4.7 to 4.5
- Is Regression changed from No to Yes
Yes, has to be reverted!
Easy to see: since 6.0 $task is reassigned the line above the change to be an object.
Updated by Gerrit Code Review about 11 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch TYPO3_4-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25846
Updated by Gerrit Code Review about 11 years ago
Patch set 1 for branch TYPO3_4-5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25847
Updated by Markus Klein about 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset d353ab05a2645c0a95844185ae2491c5d0db5b7b.