Commit 60856031 authored by Helmut Hummel's avatar Helmut Hummel
Browse files

[BUGFIX] Write ClassInformation for every installed extension

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-by: Nicole Cordes's avatarNicole Cordes <>
Tested-by: Nicole Cordes's avatarNicole Cordes <>
Reviewed-by: Wouter Wolters's avatarWouter Wolters <>
Reviewed-by: Frank Nägler's avatarFrank Nägler <>
Reviewed-by: Jigal van Hemert's avatarJigal van Hemert <>
Tested-by: Jigal van Hemert's avatarJigal van Hemert <>
Reviewed-by: default avatarHelmut Hummel <>
Tested-by: default avatarHelmut Hummel <>
parent 1487e775
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment