#106830clearCachePostProc hook does not allow to change cache tags
Description
DataHandler hook is basically useless in order to modify the cache tags due to a typo.
$_params = [‘table’ => $table, ‘uid’ => $uid, ‘uid_page’ => $pageUid, ‘TSConfig’ => $TSConfig, ‘tags’ => $tagsToClear, ‘clearCacheEnabled’ => $clearCacheEnabled];
foreach ($GLOBALS[‘TYPO3_CONF_VARS’][‘SC_OPTIONS’][‘t3lib/class.t3lib_tcemain.php’][‘clearCachePostProc’] ?? [] as $_funcRef) {
GeneralUtility::callUserFunction($_funcRef, $_params, $this);
}
The tags cannot be changed, for this reason, consumers always trigger a flushByTagInGroup themselves, making tooo much overhead.
Reviews 2
History 24
-
Gerrit Code Review pushed patch set 1 for main to change 89637 status
NewUnder Review 06/05/25, 07:04 -
Gerrit Code Review pushed patch set 1 for 13.4 to change 89640 06/05/25, 09:09
-
Benni Mack commented and changed status
Under ReviewResolved done0 %100 % 06/05/25, 09:15 -
Benni Mack changed status
ResolvedClosed 08/12/25, 14:35
Applied in changeset commit:0da7624b791fab61cf5b484b6b68153fa3808460.