Project

General

Profile

Actions

Bug #43381

closed

ClassLoader error after installing extension

Added by Oliver Hader over 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Extension Manager
Target version:
Start date:
2012-11-28
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.3
Tags:
Complexity:
hard
Is Regression:
Sprint Focus:

Description

When e.g. installing tt_news version 3.4.0 (compatible to TYPO3 CMS 6.0.0) a fatal error will be shown since tt_news uses a class in ext_tables.php that requires the autoloader's registry information.

The following happens on installing an extension:
  • flushing the caches (including the class loader cache)
  • redirecting to list view of extension manager
  • triggering shutdown method in ClassLoader
  • updating cache if $cacheUpdateRequired is set

This updates the autoloader registry with old data since the extension's ext_autoload.php has not been considered at that time.

The issue is fixed by explicitly calling a new refresh method in the ClassLoader.


Related issues 3 (0 open3 closed)

Has duplicate TYPO3 Core - Bug #42010: Extension manager should clear code cache when installing extensionsClosed2012-10-15

Actions
Has duplicate TYPO3 Core - Bug #41300: Exception after uninstalling DBALClosed2012-09-23

Actions
Has duplicate TYPO3 Core - Bug #40596: Fatal error on installation of an extensionClosed2012-09-04

Actions
Actions

Also available in: Atom PDF