Issue Bug Resolved

#92914$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearCachePostProc']

Reindl Bernd 11/24/20, 09:13 updated 11/20/26, 16:25

Description

TYPO3\CMS\Install\Controller\MaintenanceController::cacheClearAllAction() do not respect hooks added to clearCachePostProc.

I have an extension which creates a .htaccess an a proxy.php file inside the cache folder after clearing the cache. This works fine if i flush the cache in the backend. But if i clear the cache in the install tool (Maintenance -> Flush cache) the clearCachePostProc is not processed.

Please add clearCachePostProc to “Flush Cache”

Best regards
Bernd

Reviews 1

History 46

  1. Benni Mack commented <span data-processor="relativetime" data-value="2021-08-10T17:55:17+00:00" > 08/10/21, 17:55 </span>

    Currently, this isn’t possible right now technically, because the hook is bound to DataHandler, which is currently only possible in Backend context.

  2. Benni Mack commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-11-20T16:25:13+00:00" > 11/20/26, 16:25 </span>

    Applied in changeset commit:ab02be8dea51f237bdca19e410a00498c5feac07.