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 16:44:45 UTC
[jira] [Updated] (TINKERPOP3-823) addV() broken for multi-value
properties
[ https://issues.apache.org/jira/browse/TINKERPOP3-823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stephen mallette updated TINKERPOP3-823:
----------------------------------------
Environment: (was: 3.1.0-SNAPSHOT)
Description:
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}
was:
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
Component/s: (was: driver)
process
> 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)