Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-6667

Reresoliving hosts or resolving new fragments does not invalidate meta-data cache for SCR

    XMLWordPrintableJSON

Details

    Description

      There are two cases where the component meta-data that is cached per bundle does not react to dynamic changes at runtime.

      1. 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
      2. 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

          Activity

            People

              tjwatson Tom Watson
              tjwatson Tom Watson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: