[BUGFIX] Write ClassInformation for every installed extension 31/40231/2
authorHelmut Hummel <helmut.hummel@typo3.org>
Sat, 13 Jun 2015 17:42:04 +0000 (19:42 +0200)
committerHelmut Hummel <helmut.hummel@typo3.org>
Sun, 14 Jun 2015 11:25:30 +0000 (13:25 +0200)
The class information generator caches the currently active packages.
This runtime cache needs to be flushed every time the class information
is written, so that class information of newly activated extensions in one
request is taken into account.

Releases: master
Resolves: #67439
Related: #67212
Change-Id: I107bd692c5ad217dcd4d0d49e98fa294b4e470e4
Reviewed-on: http://review.typo3.org/40231
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Frank N├Ągler <frank.naegler@typo3.org>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>

index 9b95988..47934a8 100644 (file)
@@ -106,6 +106,9 @@ class ClassLoadingInformationGenerator {
         * @internal
        static public function buildAutoloadInformationFiles() {
+               // Ensure that for each re-build, the packages are fetched again from the package manager
+               self::$activePackages = NULL;
                $psr4File = $classMapFile = <<<EOF