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.

Status:
Resolved
Priority:
Must have
Assignee:
-
Category:
Package
Target version:
-
Start date:
2013-07-16
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

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

Actions

Also available in: Atom PDF