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

ASF GitHub Bot commented on TINKERPOP-1821:
-------------------------------------------

Github user robertdale commented on the issue:

    https://github.com/apache/tinkerpop/pull/739
  
    VOTE +1


> Consistent behavior of self-referencing edges
> ---------------------------------------------
>
>                 Key: TINKERPOP-1821
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1821
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: process
>    Affects Versions: 3.2.6
>            Reporter: stephen mallette
>            Assignee: Marko A. Rodriguez
>            Priority: Major
>
> Given discussions here:
> https://lists.apache.org/thread.html/adcfa13130026896da215be257fd26b309820c1cd5b5d359ed9cdfa2@%3Cdev.tinkerpop.apache.org%3E
> we needed to include a test to ensure consistency of the traversal behavior 
> around self-referencing edges in relation to
> {code}
> g.V().bothE()
> g.V().both()
> {code}
> The expected behavior is already present in TinkerGraph and that expected 
> behavior is as follows:
> {code}
> gremlin> g.addV().as("a").addE("self").to("a").iterate()
> gremlin> g.V().bothE()
> ==>e[19][18-self->18]
> ==>e[19][18-self->18]
> gremlin> g.V().both()
> ==>v[18]
> ==>v[18]
> {code}
> This  may break a number of providers as we've not had a test for this 
> behavior until now - we should provide some upgrade documentation to call 
> attention to this issue.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to