Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
scr-2.2.6
-
None
Description
There are two cases where the component meta-data that is cached per bundle does not react to dynamic changes at runtime.
- Fragments are installed and then the host bundle is refreshed to allow the fragments to attach. The fragments may provide their own component XML resources. In this case a bundle event is fired indicating the host bundle got UNRESOLVED. We should remove the cached meta-data for the bundle any time it gets UNRESOLVED to force it to be re-generated when the host bundle is activated again with the current set of attached fragments
- Fragments are installed that meet the criteria to allow them to be attached dynamically to a currently resolved host. In this case we should also force the host cache to be removed so when the host is re-activated we will re-generate the meta-data with the current set of resolved fragments.
Attachments
Issue Links
- links to