[ https://issues.apache.org/jira/browse/TINKERPOP-1803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16211406#comment-16211406 ]
ASF GitHub Bot commented on TINKERPOP-1803: ------------------------------------------- Github user dkuppitz commented on the issue: https://github.com/apache/tinkerpop/pull/735 VOTE: +1 > inject() doesn't re-attach with remote traversals > ------------------------------------------------- > > Key: TINKERPOP-1803 > URL: https://issues.apache.org/jira/browse/TINKERPOP-1803 > Project: TinkerPop > Issue Type: Bug > Components: process > Affects Versions: 3.2.6 > Reporter: stephen mallette > Assignee: Marko A. Rodriguez > Priority: Critical > > In the console we get this: > {code} > gremlin> v2 = g.V(2).next() > ==>v[2] > gremlin> g.V(1).out().inject(v2).values("name") > ==>vadas > ==>lop > ==>vadas > ==>josh > {code} > From gremlin-python we can see: > {code} > >>> v2 = g.V(2).next() > >>> g.V(1).out().inject(v2).values("name").toList() > [u'lop', u'vadas', u'josh'] > {code} > and using {code}withRemote(){code} in java: > {code} > gremlin> v2 = g.V(2).next() > ==>v[2] > gremlin> g.V(1).out().inject(v2).values("name") > ==>lop > ==>vadas > ==>josh > {code} > Since {{inject()}} doesn't re-attach the vertex when {{values()}} gets called > it acts on a reference vertex with no properties and returns nothing. -- This message was sent by Atlassian JIRA (v6.4.14#64029)