You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "John Ross (JIRA)" <ji...@apache.org> on 2016/05/05 12:24:13 UTC

[jira] [Updated] (ARIES-1232) ResolveContext helper appears to not considering all valid capabilities

     [ https://issues.apache.org/jira/browse/ARIES-1232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Ross updated ARIES-1232:
-----------------------------
    Fix Version/s: subsystem-core-1.2.0

> 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
>             Fix For: subsystem-core-1.2.0
>
>         Attachments: aries-1232.patch
>
>
> NOTE, this issue does not exist in truck it is in the aries/branches/subsystemsR6/ implementation.
> 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.3.4#6332)