Bug #50088

Loading order of packages does in some cases not respect depenencies

Added by Benno Weinzierl over 8 years ago. Updated almost 8 years ago.

Must have
Target version:
Start date:
Due date:
% Done:


Estimated time:
PHP Version:
Has patch:


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:

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 handlingResolved2013-12-02


Updated by Gerrit Code Review about 8 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


Updated by Markus Klein about 8 years ago

May be solved with #50088


Updated by Christopher Hlubek almost 8 years 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