You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Daniel Kuppitz (JIRA)" <ji...@apache.org> on 2016/08/30 22:17:20 UTC

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

Daniel Kuppitz created TINKERPOP-1424:
-----------------------------------------

             Summary: 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)