[ 
https://issues.apache.org/jira/browse/TINKERPOP-1821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marko A. Rodriguez closed TINKERPOP-1821.
-----------------------------------------
       Resolution: Fixed
    Fix Version/s: 3.3.1
                   3.2.7

> 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
>             Fix For: 3.2.7, 3.3.1
>
>
> 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