Project

General

Profile

Actions

Bug #67246

closed

Better handling of classes loaded via ext_autoload

Added by Bernhard Kraft almost 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Caching
Target version:
Start date:
2015-06-02
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Stabilization Sprint

Description

Currently classes loaded via an ext_autoload.php will get their cache generated only after clearing all caches using the install tool "Clear all caches" button or the red clear cache icon. This patch improves the situation by taking care of ext_autoload.php files also during normal processing. There can be edge cases where the classes_cache will not get properly generated. In such a situation a missing cache entry will cause "class not found" errors.

There is no performance impact for Production systems (TYPO3_CONTEXT) as the result of the class lookup will get cached anyways. If a class is not found via the existing mechanisms or in an ext_autoload.php it will get cached as "invalid". Of course the class could get loaded by some other autoload handler afterwards.


Related issues 4 (0 open4 closed)

Related to TYPO3 Core - Bug #67366: PHP Errors after clearing cache in BEClosed2015-06-09

Actions
Related to TYPO3 Core - Bug #69055: Locking: File change times are cachedRejectedFrank Nägler2015-08-14

Actions
Related to TYPO3 Core - Bug #70079: Performance impact of 6.2.15 class loader cache emptyingClosedAlexander Opitz2015-09-24

Actions
Related to TYPO3 Core - Bug #60760: Race condition during system cache flushClosedAlexander Opitz2014-08-04

Actions
Actions

Also available in: Atom PDF