[BUGFIX] FailsafePackageManager: do not prevent package sorting 16/58416/2
authorBenjamin Franzke <bfr@qbus.de>
Thu, 27 Sep 2018 18:10:27 +0000 (20:10 +0200)
committerSusanne Moog <susanne.moog@typo3.org>
Fri, 28 Sep 2018 10:33:14 +0000 (12:33 +0200)
commit9623facf817b63e7f887a3f603ab977bf19d5404
tree1eeefcb73b529623d38f04308ab44c6f6b645c04
parentad847e9b273f6117645b0fc51964401b174a4d2e
[BUGFIX] FailsafePackageManager: do not prevent package sorting

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.

Currently this does not really produce problems, as the install
tool creates a new PackageStates.php later on and saves (and
implicitly sorts them) using forceSortAndPackageStates().

To fix the intermediate state we now only prevent saving,
but not the sorting of packages.

Releases: master
Resolves: #86408
Change-Id: I02ccb20653700e696d89b0a6ff39253f4f1ebc73
Reviewed-on: https://review.typo3.org/58416
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/core/Classes/Package/FailsafePackageManager.php
typo3/sysext/core/Classes/Package/PackageManager.php