-
Improvement
-
Resolution: Fixed
-
Neutral
-
5.5.5
-
None
-
None
-
-
Empty show more show less
-
Basel 106, Basel 107
-
2
When parsing/populating the app and sub-app components we are trying to match the component group id against some registered app.
For example:
<components> <id>app-foo</id> ....
Would match against app foo (if it is present in the app descriptor registry).
Whereas:
<components> <id>app-foo-bar</id> ....
Would match against the sub-app bar of app foo.
Currently, if app is not present in the registry (i.e. there's no such app foo in the app descriptor registry), the collector of the components will bail and cause the whole IoC preparation process to halt, which something that we should clearly avoid.
The attached PR prevents an exception from being thrown, rather logs the warning that components mapped to an non-registered app and carries on with bindings population.
Acceptance criteria