Bug #50088

Loading order of packages does in some cases not respect depenencies

Added by Benno Weinzierl about 2 years ago. Updated over 1 year ago.

Status:Resolved Start date:2013-07-16
Priority:Must have Due date:
Assigned To:- % Done:

100%

Category:Package
Target version:-
PHP Version: Complexity:
Has patch:No Affected Flow version:Git master

Description

Since over half a year i have strange problems with the loading order of packages (and as a result of that the configuration merging). For example: I install a package (with no dependencies to all other packages) and suddenly i get the problem.

Now i took the time and tracked it down to this method:
PackageManager->sortAvailablePackagesByDependencies()

I think the algorithm used to sort the packages is somehow flawed.

There are two different "logics" used to compare two packages. One by its dependencies (which should work fine) and one with strcmp() used when no info regarding the dependencies between those two packages is present. I think the problem lies in this two different "logics". But i dont know what the solution is.


Related issues

related to TYPO3.Flow - Feature #54151: Implement proper package dependency handling Resolved 2013-12-02

History

#1 Updated by Gerrit Code Review almost 2 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23880

#2 Updated by Markus Klein over 1 year ago

May be solved with #50088

#3 Updated by Christopher Hlubek over 1 year ago

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

This should be fixed with change I2c948e7a0d5b204f2a40ea2c78bb9db256209e91 for Flow master and 2.1

Also available in: Atom PDF