You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Pascal Schumacher (JIRA)" <ji...@apache.org> on 2015/10/28 19:55:27 UTC
[jira] [Resolved] (GROOVY-7649) Grape.resolve() always fails after
first unresolved dependency
[ https://issues.apache.org/jira/browse/GROOVY-7649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pascal Schumacher resolved GROOVY-7649.
---------------------------------------
Resolution: Fixed
Assignee: Pascal Schumacher (was: Paul King)
Fix Version/s: 2.4.6
Pull request merged! Thanks!
> Grape.resolve() always fails after first unresolved dependency
> --------------------------------------------------------------
>
> Key: GROOVY-7649
> URL: https://issues.apache.org/jira/browse/GROOVY-7649
> Project: Groovy
> Issue Type: Bug
> Components: Grape
> Affects Versions: 2.4.1
> Reporter: Jason Plurad
> Assignee: Pascal Schumacher
> Fix For: 2.4.6
>
> Attachments: GrapeResolveFailure.groovy
>
>
> When there is a failed call to {{Grape.resolve()}}, {{GrapeIvy.resolve()}} hangs onto a reference to the {{IvyGrabRecord}} for the failed dependency. When subsequent {{resolve()}} calls are made, those failed records are still there, so it will continue to fail from that point on.
> https://github.com/apache/incubator-groovy/blob/GROOVY_2_4_1/src/main/groovy/grape/GrapeIvy.groovy#L563
> Note that {{GrapeIvy.grab()}} cleans up correctly on a failed grab.
> https://github.com/apache/incubator-groovy/blob/GROOVY_2_4_1/src/main/groovy/grape/GrapeIvy.groovy#L265-L268
> This defect is affecting the Apache TinkerPop Gremlin Console. Find more details here. https://issues.apache.org/jira/browse/TINKERPOP3-906
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)