Clone
Samuel Trégouët <samuel.tregouet@nereide.fr>
committed
on 25 Nov 19
Fixed: Remove dependency management from ‘ComponentContainer’ (OFBIZ-11275)
This fixes a bug identified by ‘testCheckDependencyForComponent’… Show more
Fixed: Remove dependency management from ‘ComponentContainer’ (OFBIZ-11275)

This fixes a bug identified by ‘testCheckDependencyForComponent’ where

the dependencies declared inside component configurations were not

impacting the component retrieval order.

Component configurations stored in the cache can now be properly

sorted based on their <depends-on> declaration.  The new

‘ComponentConfig#sortDependencies’ method returns a collection of

component configuration following a topological ordering.

In case of dependency cycle we throw an error.

Show less