Actions
Bug #91693
closedcache timeout calculation with custom starttime / endtime fields not working
Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Caching
Target version:
-
Start date:
2020-06-23
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
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.
Actions