Actions
Bug #82984
closedcHashExcludedParameters and ext_localconf.php setup
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-11-13
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
I set this in ext_localconf.php of my extension:
$GLOBALS['TYPO3_CONF_VARS']['FE']['cHashExcludedParameters'] .= ', my_getpara';
I can see under the configuration mod that my exclude parameter is set but in the FE the evaluation fails.
When i add the same parameter in the install tool the evaluation is fine. Maybe it is some bootstrap issue.
I have tested the same behaviour with TYPO3 7.6.23
Updated by Peter Niederlag almost 7 years ago
I just noticed that bootstrap has a function which copies value from $GLOBALS['TYPO3_CONF_VARS']['FE']['cHashExcludedParameters'] to $GLOBALS['TYPO3_CONF_VARS']['FE']['cacheHash']['excludedParameters'] so this might be related.
Could you check wether this workaround does cure the problem?
# necessary workaround for ext_localconf.php ? $GLOBALS['TYPO3_CONF_VARS']['FE']['cacheHash']['excludedParameters'][] = 'tx_foo[bar]';
Updated by Stephan Großberndt over 5 years ago
- Subject changed from cHashExcludedParameters and localconf.php setup to cHashExcludedParameters and ext_localconf.php setup
- Description updated (diff)
- Status changed from New to Closed
Closing for lack of feedback.
// TYPO3 6.x $GLOBALS['TYPO3_CONF_VARS']['FE']['cHashExcludedParameters'] .= ',tx_myrandomnews[topic]'; // TYPO3 7.x $GLOBALS['TYPO3_CONF_VARS']['FE']['cacheHash']['excludedParameters'][] = 'tx_myrandomnews[topic]';
Updated by Joerg Kummer over 5 years ago
Workaround performs in TYPO3 8.6 too
// TYPO3 8.6 $GLOBALS['TYPO3_CONF_VARS']['FE']['cacheHash']['excludedParameters'][] = 'tx_myrandomnews[topic]';
Actions