[BUGFIX] Streamline package management in PackageManager 87/55687/42
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:03:25 +0000 (15:03 +0100)
commit56fc433cac4d097716d62c6b569368646fe9adc5
treed8e6836fad4ad3af79d950a6fdf53710b55b8061
parent2b19fdb6abfafd74e5f51cbf751061b52b013ae0
[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/55687
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/core/Classes/Package/PackageManager.php