Commit 9302d22c authored by Nicole Cordes's avatar Nicole Cordes Committed by Benni Mack
Browse files

[BUGFIX] Prevent resetting of Package Manager packages

Due to Package Manager cleanup in
the packageStatesConfiguration property only includes active packages.

This patch prevents resetting the packages property which should store
all available package objects to the active ones.

Resolves: #75864
Releases: master
Change-Id: I44d4e074a04cc294cacf9ec9a707b2367b57a2bb

Reviewed-by: default avatarHelmut Hummel <>
Tested-by: default avatarHelmut Hummel <>
Reviewed-by: Wouter Wolters's avatarWouter Wolters <>
Reviewed-by: Benni Mack's avatarBenni Mack <>
Tested-by: Benni Mack's avatarBenni Mack <>
Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <>
parent 36b4043c
......@@ -688,13 +688,10 @@ class PackageManager implements \TYPO3\CMS\Core\SingletonInterface
$sortedPackageKeys = $this->dependencyResolver->sortPackageStatesConfigurationByDependency($packagesWithDependencies);
// Reorder the packages according to the loading order
$newPackages = array();
$this->packageStatesConfiguration['packages'] = [];
foreach ($sortedPackageKeys as $packageKey) {
$newPackages[$packageKey] = $this->packages[$packageKey];
$this->packages = $newPackages;
return $packagesWithDependencies;
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