#91693cache timeout calculation with custom starttime / endtime fields not working
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.
Reviews 3
History 47
-
Sybille Peters changed Related to #90406 <span data-processor="relativetime" data-value="2020-08-06T15:05:08+00:00" > 08/06/20, 15:05 </span>
-
Sybille Peters changed
Related to #90406<span data-processor="relativetime" data-value="2020-08-06T16:25:56+00:00" > 08/06/20, 16:25 </span> -
Gerrit Code Review pushed patch set 1 for main to change 86847 status
NewUnder Review <span data-processor="relativetime" data-value="2024-10-31T14:31:53+00:00" > 10/31/24, 14:31 </span> -
Gerrit Code Review pushed patch set 1 for 13.4 to change 86863 <span data-processor="relativetime" data-value="2024-11-04T09:40:05+00:00" > 11/04/24, 09:40 </span>
-
Gerrit Code Review pushed patch set 1 for 12.4 to change 86864 <span data-processor="relativetime" data-value="2024-11-04T09:40:13+00:00" > 11/04/24, 09:40 </span>
-
Anonymous commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2024-11-04T09:50:08+00:00" > 11/04/24, 09:50 </span> -
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2025-12-02T14:36:47+00:00" > 12/02/25, 14:36 </span>
Applied in changeset commit:25441fca2593cb8b13df9311f18cb69ea6d219ae.