Review TYPO3_6-2 Merged

39928[BUGFIX] Cache healing for classes loaded via ext_autoload

Wouter Wolters CR +2 V +2 Easy +19 −0 updated 12/10/17, 10:56

Commit message

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.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1