-
Notifications
You must be signed in to change notification settings - Fork 514
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
5 changed files
with
70 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 0 additions & 44 deletions
44
framework/base/src/main/java/org/apache/ofbiz/base/component/AlreadyLoadedException.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters