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/09/01 17:48:46 UTC

[jira] [Commented] (TINKERPOP3-823) addV() broken for multi-value properties

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

stephen mallette commented on TINKERPOP3-823:
---------------------------------------------

Pushed a branch with tests that validate the problem:

https://github.com/apache/incubator-tinkerpop/tree/TINKERPOP3-823

The new tests in this branch currently fail - looks like an issue in {{Parameters.set()}} and how it handles those values.

> addV() broken for multi-value properties
> ----------------------------------------
>
>                 Key: TINKERPOP3-823
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-823
>             Project: TinkerPop 3
>          Issue Type: Bug
>          Components: process
>    Affects Versions: 3.1.0-incubating
>            Reporter: David Robinson
>            Assignee: stephen mallette
>
> Multi-properties appear to be broken in 3.1.0-SNAPSHOT with addV()
> The TP3 3.1.0 snapshot documentation shows:
> {code}
> gremlin> graph = TinkerGraph.open()
> ==>tinkergraph[vertices:0 edges:0]
> gremlin> g = graph.traversal(standard())
> ==>graphtraversalsource[tinkergraph[vertices:0 edges:0], standard]
> gremlin> v = g.addV('name','marko','name','marko a. rodriguez').next()
> ==>v[0]
> gremlin> g.V(v).properties().count()
> ==>2
> {code}
> Building the master branch in TP3 which shows this:
>  <version>3.1.0-SNAPSHOT</version>
> shows the following:
> {code}
> gremlin> graph = TinkerGraph.open()
> ==>tinkergraph[vertices:0 edges:0]
> gremlin> g = graph.traversal(standard())
> ==>graphtraversalsource[tinkergraph[vertices:0 edges:0], standard]
> gremlin> v = g.addV('name','marko','name','marko a. rodriguez').next()
> ==>v[0]
> gremlin> g.V(v).properties().count()
> ==>1
> {code}
> However, this still works like the 3.0.0 GA:
> {code}
> gremlin> v2=graph.addVertex('name', 'firstversion', 'name', 'secondversion')
> ==>v[2]
> gremlin> g.V(v2).properties().count()
> ==>2
> {code}



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