Bug #91693
closedcache timeout calculation with custom starttime / endtime fields not working
100%
Description
The following configuration does not work when using fieldnames other than "starttime" or "endtime":
config.cache.all = tx_demo_domain_model_slideshowitem:14
My TCA configuration looks like this:
return [
'columns'=>[
'visible_to' => [/*...*/],
'visible_from' => [/*...*/],
/*...*/
],
'ctrl' => [
'enablecolumns'=>[
'endtime'=>'visible_to',
'starttime'=>'visible_from'
],
/*...*/
],
/*...*/
];
https://github.com/TYPO3/TYPO3.CMS/blob/9.5/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php#L4865
$timeField is always "starttime" or "endtime". But in my case the fieldnames are "visible_to", "visible_from" ($_).
Tested with TYPO3 9. But it looks like this is a issue of alle TYPO3 versions.
Updated by Sybille Peters over 4 years ago
- Related to Bug #90406: Caching of pages is not adjusted for content with "Publish Date" / "Expiration Date" (starttime, endtime) added
Updated by Sybille Peters over 4 years ago
- Related to deleted (Bug #90406: Caching of pages is not adjusted for content with "Publish Date" / "Expiration Date" (starttime, endtime))
Updated by Gerrit Code Review 21 days ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86847
Updated by Gerrit Code Review 17 days ago
Patch set 1 for branch 13.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86863
Updated by Gerrit Code Review 17 days ago
Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/86864
Updated by Anonymous 17 days ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 25441fca2593cb8b13df9311f18cb69ea6d219ae.