Project

General

Profile

Actions

Bug #28266

closed

When an extension is installed or removed, the autoloader cache must be flushed

Added by Helmut Hummel over 13 years ago. Updated over 11 years ago.

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

0%

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

Description

Problem:
If an extension is installed during a request, the autoloader cache must be removed.
If not, it may be that classes are not found because they are missing in the autoloader registry

Solution:
Remove the autoloader cache if t3lib_extmgm::removeCacheFiles() is called

Steps to reproduce:
Use a plain dummy package.
Call the 123 install wizard.
You'll get "PHP Fatal error: Class 'tx_dbal_querycache' not found", because dbal activates itself, but the caches are not flushed and 'tx_dbal_querycache' is not present in the autoloader registry.


Files

clearautoloadcache.diff (700 Bytes) clearautoloadcache.diff Helmut Hummel, 2011-07-17 16:48

Related issues 4 (0 open4 closed)

Related to TYPO3 Core - Task #28219: Invalidate autoloader cache in emClosedChristian Kuhn2011-07-14

Actions
Related to TYPO3 Core - Bug #28589: Autoloader Cache is not updatedClosed2011-07-30

Actions
Is duplicate of TYPO3 Core - Bug #28187: Clear autoloader cache if dbal is loaded in 1-2-3ClosedChristian Kuhn2011-07-13

Actions
Has duplicate TYPO3 Core - Bug #28324: Autoloader cache is not clearedRejected2011-07-19

Actions
Actions

Also available in: Atom PDF