[BUGFIX] Catch InvalidPackageManifestException in PackageManager
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Package / PackageManager.php
index f82a162..9d0efce 100644 (file)
@@ -448,6 +448,10 @@ class PackageManager implements \TYPO3\CMS\Core\SingletonInterface {
                                $this->unregisterPackageByPackageKey($packageKey);
                                $packageStatesHasChanged = TRUE;
                                continue;
+                       } catch (Exception\InvalidPackageManifestException $exception) {
+                               $this->unregisterPackageByPackageKey($packageKey);
+                               $packageStatesHasChanged = TRUE;
+                               continue;
                        }
 
                        $this->registerPackage($package, FALSE);