You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "David Robinson (JIRA)" <ji...@apache.org> on 2015/09/01 16:29:47 UTC
[jira] [Created] (TINKERPOP3-823) addV() broken for multi-value
properties
David Robinson created TINKERPOP3-823:
-----------------------------------------
Summary: 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: driver
Affects Versions: 3.1.0-incubating
Environment: 3.1.0-SNAPSHOT
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:
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
Building the master branch in TP3 which shows this:
<version>3.1.0-SNAPSHOT</version>
shows the following:
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
However, this still works like the 3.0.0 GA:
gremlin> v2=graph.addVertex('name', 'firstversion', 'name', 'secondversion')
==>v[2]
gremlin> g.V(v2).properties().count()
==>2
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)