You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "stephen mallette (JIRA)" <ji...@apache.org> on 2015/12/16 17:33:46 UTC

[jira] [Updated] (TINKERPOP-1048) Vertex lookups by id are inconsistent

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

stephen mallette updated TINKERPOP-1048:
----------------------------------------
    Fix Version/s: 3.1.1-incubating

That stinks - I think we should try to fix that for 3.1.1-incubating if we can.  I assigned it to that release.

> Vertex lookups by id are inconsistent
> -------------------------------------
>
>                 Key: TINKERPOP-1048
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1048
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: process
>    Affects Versions: 3.1.1-incubating
>            Reporter: Daniel Kuppitz
>             Fix For: 3.1.1-incubating
>
>
> {{graph.vertices(id)}}, {{g.V(id)}} and {{g.V().hasId(id)}} should all return the same result. However, currently only the latter respects the {{toString()}} representation of ids.
> {noformat}
> gremlin> g.addV().id()
> ==>12
> gremlin> graph.vertices("12")
> gremlin> g.V("12")
> gremlin> g.V().hasId("12")
> ==>v[12]
> {noformat}



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