Actions
Bug #87546
closedPlease recreate all Caches after installing an extension
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extension Manager
Target version:
Start date:
2019-01-25
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Hello Core-Team,
I have registered a Cache which I need while processing TCA, but that Cache does not exists while installing my extension.
you have following lines in InstallUtilit:
public function reloadCaches() { $this->reloadOpcache(); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::loadExtLocalconf(false); \TYPO3\CMS\Core\Core\Bootstrap::loadBaseTca(false); \TYPO3\CMS\Core\Core\Bootstrap::loadExtTables(false); }
With loadExtLocalconf(false); my Cache will be Added to TYPO3_CONF_VARS, but CacheManager will not be called again, so while processing next line "loadBaseTca" TCA and Overrides will be loaded, but as my Cache is un-initialized an Exception will be thrown.
Stefan
Actions