« Previous | Next » 

Revision 45548001

ID455480019a912332d84b61d7b2d011ec4fa22f1b

Added by Sebastian Kurfuerst almost 8 years ago

[BUGFIX] Package Manager needs to sort active packages in dependency order

Problem: If being in production context and the configuration cache is still empty,
it might happen that $this->activePackages is not sorted in the correct order of
package dependencies, but $this->packages is. This leads to wrongly merged configuration,
which is then cached.

This problem might also occur in development context, but only on first hit. After
a reload it is gone.

This change is a fix which makes sure the order in activePackages is the same
as in packages.

Releases: master, 2.0
Change-Id: I7edb8050a6781681770890cccb2a9d7cd1ace4b1

  • added
  • modified
  • copied
  • renamed
  • deleted