Issue Bug Closed

#86408FailsafePackageManager does not sort packages when PackageStates.php file is missing

Benjamin Franzke 09/27/18, 20:21 updated 07/08/19, 14:07

Description

This currently does not expose real problems, as the install
tool creates a new PackageStates.php later on and saves (and
implicitly sorts packages) using forceSortAndPackageStates().

FailsafePackageManager prevents saving PackageStates.php in
failsafe mode by overwriting sortAndSavePackageStates(). That works
to prevent saving, but also prevents sorting when initially loading
packages when PackageStates.php is missing.

Despite not exposing bugs right now, this should be fixed as
this is a) unclean and b) will become a problem when other failsafe
applications will be added.

Reviews 2