[BUGFIX] cache_clearAtMidnight conflicts with content start/endtime 51/24951/2
authorDmitry Dulepov <dmitry.dulepov@gmail.com>
Tue, 22 Oct 2013 07:30:09 +0000 (11:30 +0400)
committerHelmut Hummel <helmut.hummel@typo3.org>
Tue, 11 Feb 2014 21:28:45 +0000 (22:28 +0100)
commitea637fbfcdd2c9beef51d0356c308550efe9294f
tree571a87472742e1feff06ecae367ad8c154222b2a
parent73489abe2c803c679844c43f6c2c1aeebf723f20
[BUGFIX] cache_clearAtMidnight conflicts with content start/endtime

If the config.cache_ClearAtMidnight is set, the current code of
TypoScriptFrontendController::get_cache_timeout() will not take
content's starttime/endtime into account. Thus if the content
(or other configured record) has start or end time before the
midnight, it will not be taken into account and the cache timeout
will be wrong.

Change-Id: I732da8f07270a86c62b7ce5028b12b630bb2e027
Resolves: #53028
Releases: 6.2, 6.1, 6.0
Reviewed-on: https://review.typo3.org/24951
Reviewed-by: Wouter Wolters
Reviewed-by: Peter Foerger
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php