Issue Bug Closed

#81932Clear all caches from install tool fails with custom cache configuration

Markus Opahle 07/20/17, 15:21 updated 06/23/24, 19:52

Description

To reproduce:

Use a custom cache backend for extbase_object cache:

$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['extbase_object']['backend']=\TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend::class;

and register to a signalslot which executes before cache configuration is complete (e.g. ExtensionManagementUtility/tcaIsBeingBuilt):

$signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class);
$signalSlotDispatcher->connect(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::class, 'tcaIsBeingBuilt', \My\Ext\TcaIsBeingBuiltSlot::class, 'myMethod');

now exceute “Clear all caches including PHP opcode cache” from install tool which fails with this exception:

An exception occurred while executing 'SELECT `content` FROM `cf_extbase_object` WHERE (`identifier` = ?) AND (`expires` >= ?)' with params ["b926b11f884a636e115f22a83a441f94", 1500555641]: Table 'mydb.cf_extbase_object' doesn't exist 

TYPO3 Version ist 8.7.3

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.