Review TYPO3_6-0 Merged

16893[BUGFIX] ClassLoader error after installing extension

Christian Kuhn CR +2 V +2 Easy +18 −3 updated 06/03/13, 20:49

Commit message

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 reloading the ClassLoader
cache after TYPO3_LOADED_EXT has been reloaded.

Review

  • Code review CR +2
    • Christian Kuhn +2
  • Verified V +2
    • Christian Kuhn +2

Files 3

Review log 2

  1. Christian Kuhn commented on patch set 1 V 0 11/30/12, 16:39

    by team member; Looks good to me, approved
  2. Christian Kuhn merged patch set 1 11/30/12, 16:39