Samuel Bratton created ARIES-1232:
-------------------------------------

             Summary: ResolveContext helper appears to not considering all 
valid capabilities
                 Key: ARIES-1232
                 URL: https://issues.apache.org/jira/browse/ARIES-1232
             Project: Aries
          Issue Type: Bug
          Components: Subsystem
            Reporter: Samuel Bratton
            Priority: Minor


I don't know of an actual failure this is causing but code appears to be a bug.

ResolveContext.java as part of the findProviders call has a helper 
addValidCapabilities(). If asked to validate on the first non-Valid capability 
encountered, it will return rather than continue to check all Capabilities 
passed into it to evaluate.

Also when adding dependencies from RepositoryServiceRepositories the 
implementation seems to incorrectly enable validation of sharing path.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to