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

Candidates from already resolved fragments get ignored if no new hosts are available

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: resolver-1.0.0
    • Fix Version/s: resolver-1.2.0
    • Component/s: Resolver
    • Labels:
      None

      Description

      org.apache.felix.resolver.Candidates.populateResource(ResolveContext, Resource) gets called for fragments even if they are already resolved so that we can attach them to more hosts as needed.

      The issue is that this method will throw a ResolutionException if the fragment cannot attach to any new hosts during the current resolve process. This has the effect of removing any candidate capabilities provided by already resolved fragments.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gnt Guillaume Nodet
                Reporter:
                tjwatson Tom Watson
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: