You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Marko A. Rodriguez (JIRA)" <ji...@apache.org> on 2016/10/31 17:31:58 UTC

[jira] [Commented] (TINKERPOP-1424) PathRetractionStrategy can easily break VertexPrograms

    [ https://issues.apache.org/jira/browse/TINKERPOP-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15622811#comment-15622811 ] 

Marko A. Rodriguez commented on TINKERPOP-1424:
-----------------------------------------------

Is this still an issue now that we have {{TINKERPOP-1280}} implemented? 

> PathRetractionStrategy can easily break VertexPrograms
> ------------------------------------------------------
>
>                 Key: TINKERPOP-1424
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1424
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: process
>    Affects Versions: 3.2.1
>            Reporter: Daniel Kuppitz
>
> I just ran into an issue where I had to remove {{PathRetractionStrategy}} from the traversal strategies. The traversal was something like this:
> {code}
> g.V().out().as("a").out().program(myVertexProgram)
> {code}
> ..and {{myVertexProgram}} tried to access the path label "a". This doesn't work if {{PathRetractionStrategy}} is used.
> I think we need to extend VertexPrograms, like in TINKERPOP-1280. If a VertexProgram has a {{LABELED_PATH}} requirement, it should also provide information about which labels it needs access to.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)