Bug #82984

cHashExcludedParameters and localconf.php setup

Added by Oliver Pfaff over 1 year ago. Updated 11 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-11-13
Due date:
% Done:

0%

TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I set this in my 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

History

#1 Updated by Peter Niederlag 11 months 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]';

Also available in: Atom PDF