[TYPO3-core] RFC #12177: Bug: Scheduler: New single task with a creation date in the past will never run
Francois Suter
fsu-lists at cobweb.ch
Fri Oct 16 11:42:04 CEST 2009
This is an SVN patch request.
Type: Bugfix
Bugtracker references:
http://bugs.typo3.org/view.php?id=12177
Branches:
Trunk
Problem:
If a new single-running task is created with default values in the BE
module, it has a start date in the past (even if only by a few seconds).
As such it will be disabled right away, as the Scheduler considers that
it has run already. This is due to how next execution times are
calculated for recurring tasks. An exception must be made for
single-running tasks.
Solution:
Introduce a flag that "protects" a new single-running task until its
first run.
Notes:
1) The original patch was provided by Ingmar
2) The proposed patch includes some small CGL cleanups to match cases of
all boolean values in the tx_scheduler_Execution class (a new boolean
value is introduced with this patch and it looked weird with a different
case than all others)
Cheers
--
Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug12177.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20091016/81605ede/attachment.txt
More information about the TYPO3-team-core
mailing list