[BUGFIX] Page cache expiry calculation fails
authorFrancois Suter <francois@typo3.org>
Wed, 4 Apr 2012 13:21:52 +0000 (15:21 +0200)
committerFrancois Suter <francois@typo3.org>
Wed, 9 May 2012 08:04:23 +0000 (10:04 +0200)
commit22b5fcfe2b27adc9430d40646dad97c7b7bbd78d
treeb4c861d13b93cbf1410ca4b664cdfe7f3269e8ee
parent13618a7a3f32bf8fc953c0fe6d64443124257845
[BUGFIX] Page cache expiry calculation fails

The calculation of the page cache expirationy timestamp based on
property config.cache.xx = table:yy fails in some specific
scenarios, name when there are records having either a start time
in the future but no end time, or an end time in the future
and no start time. Contrary to what is being done so far, calculation
must be performed separately for each time field to avoid
interferences.

Change-Id: I4e4e259083a10f7125760d14ede11ff6a68022fe
Fixes: #35684
Releases: 6.0, 4.7, 4.6
Reviewed-on: http://review.typo3.org/10156
Reviewed-by: Philipp Gampe
Reviewed-by: Wouter Wolters
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Xavier Perseguers
Reviewed-by: Francois Suter
Tested-by: Francois Suter
typo3/sysext/cms/tslib/class.tslib_fe.php