#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 08/06/20, 15:05
-
Sybille Peters changed
Related to #9040608/06/20, 16:25 -
Gerrit Code Review pushed patch set 1 for main to change 86847 status
NewUnder Review 10/31/24, 14:31 -
Gerrit Code Review pushed patch set 1 for 13.4 to change 86863 11/04/24, 09:40
-
Gerrit Code Review pushed patch set 1 for 12.4 to change 86864 11/04/24, 09:40
-
Anonymous commented and changed status
Under ReviewResolved done0 %100 % 11/04/24, 09:50 -
Benni Mack changed status
ResolvedClosed 12/02/25, 14:36
Applied in changeset commit:25441fca2593cb8b13df9311f18cb69ea6d219ae.