[
https://issues.apache.org/jira/browse/ARIES-1232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Samuel Bratton updated ARIES-1232:
----------------------------------
Description:
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.
was:
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.
> 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
>
> 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.2#6252)