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

Resolver does not always resolve a dynamic import to a fragment export

    XMLWordPrintableJSON

Details

    Description

      Packages exported by fragments are not always seen by bundles dynamically importing them. For example, consider the following scenario:

      Bundle A dynamically imports some package foo and is resolved, but no other bundles are present. Now a host and fragment are installed (but not resolved) where the fragment exports package foo. If A tries to access a class in foo, it will not get dynamically wired to the package, since the host/fragment pair will not be resolved.

      If the host/fragment pair were installed prior to A being resolved, it does work, but this is more by accident than design. We need to explicitly attempt to resolve fragments during dynamic import resolution.

      Attachments

        Activity

          People

            rickhall Richard S. Hall
            rickhall Richard S. Hall
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: