[BUGFIX] Prevent sorting incomplete loaded packages 33/39133/2
authorNicole Cordes <typo3@cordes.co>
Fri, 1 May 2015 08:52:43 +0000 (10:52 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Fri, 1 May 2015 09:35:34 +0000 (11:35 +0200)
commit81e3ac01e472bf6afd7b7aaa67386fa192088ea9
treebb35c52178295aa26f62762eb87af001dec0bc5e
parent1094ab10708b735c177c9f2c8f75222b490ef583
[BUGFIX] Prevent sorting incomplete loaded packages

If an extension is defined in PackageStates.php but missing in file
system the package gets unloaded and the PackageStates.php is rewritten.
If a core extension is missing (e.g. extra_page_cm_options) the file
is rewritten with incomplete loaded package information and gets wrongly
sorted.

Releases: master, 6.2
Resolves: #66699
Change-Id: I18e4bb83cf1676537a45ea4b07b9228335e34ec7
Reviewed-on: http://review.typo3.org/39133
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/core/Classes/Package/PackageManager.php