[BUGFIX] Streamline package management in PackageManager 11/56111/2
authorNicole Cordes <typo3@cordes.co>
Mon, 12 Feb 2018 20:30:43 +0000 (21:30 +0100)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Mon, 12 Mar 2018 14:06:58 +0000 (15:06 +0100)
commit61008d708379ebecaaf29ef5e428500962700eb1
treedfee0a0a9749499a30973b2d7f5b99fecf8fedd8
parent5e86b9f0a2b17363227ad6a5726190463d613371
[BUGFIX] Streamline package management in PackageManager

This bugfix resolves an issue that all available Packages
are scanned at each request. At the same time, it fixes
an issue related to runtimeActivatedPackages.

We now
- resolve package key with api usage
- distinguish between registered and available packages
- remove superfluous exception annotations
- prevent superfluous scans on getPackage() and isPackageAvailable() calls

Releases: master, 8.7
Resolves: #83820
Change-Id: I2b8bff3d4bb5287fd76418217653477c77467a8e
Reviewed-on: https://review.typo3.org/56111
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/core/Classes/Package/PackageManager.php