Project

General

Profile

Actions

Bug #81932

closed

Clear all caches from install tool fails with custom cache configuration

Added by Markus Opahle over 7 years ago. Updated 5 months ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Caching
Target version:
-
Start date:
2017-07-20
Due date:
% Done:

0%

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

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

Actions

Also available in: Atom PDF