Bug #86408

Epic #83968: PSR-11 Initiative

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

Added by Benjamin Franzke over 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
System/Bootstrap/Configuration
Target version:
-
Start date:
2018-09-27
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.


Related issues

Related to TYPO3 Core - Bug #86416: CLI should not depend on a working database connectionClosed2018-09-28

Actions
#1

Updated by Gerrit Code Review over 2 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58416

#2

Updated by Benjamin Franzke over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#3

Updated by Anja Leichsenring over 2 years ago

  • Related to Bug #86416: CLI should not depend on a working database connection added
#4

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed
#5

Updated by Benjamin Franzke almost 2 years ago

  • Parent task set to #83968

Also available in: Atom PDF