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 2016/09/15 16:53:20 UTC
[jira] [Updated] (TINKERPOP-1452) TinkerGraph Gryo Export looses
multi-properties
[ https://issues.apache.org/jira/browse/TINKERPOP-1452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stephen mallette updated TINKERPOP-1452:
----------------------------------------
Assignee: stephen mallette
Affects Version/s: 3.1.4
Priority: Critical (was: Major)
Component/s: tinkergraph
holy hell!!
> TinkerGraph Gryo Export looses multi-properties
> -----------------------------------------------
>
> Key: TINKERPOP-1452
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1452
> Project: TinkerPop
> Issue Type: Bug
> Components: tinkergraph
> Affects Versions: 3.1.4
> Reporter: Matthias Broecheler
> Assignee: stephen mallette
> Priority: Critical
>
> {code}
> gremlin> configuration = new org.apache.commons.configuration.BaseConfiguration()
> ==>org.apache.commons.configuration.BaseConfiguration@30331109
> gremlin> configuration.setProperty(TinkerGraph.GREMLIN_TINKERGRAPH_GRAPH_LOCATION, '/Users/matthias/Documents/Development/tp/test2.gryo')
> ==>null
> gremlin> configuration.setProperty(Graph.GRAPH, TinkerGraph.class.getName())
> ==>null
> gremlin> configuration.setProperty(TinkerGraph.GREMLIN_TINKERGRAPH_GRAPH_FORMAT, 'gryo')
> ==>null
> gremlin> graph = TinkerGraph.open(configuration)
> ==>tinkergraph[vertices:0 edges:0]
> gremlin> v = graph.addVertex('Person')
> ==>v[0]
> gremlin> v.property(list, 'age', 1)
> ==>vp[age->1]
> gremlin> v.property(list, 'age', 2)
> ==>vp[age->2]
> gremlin> v.properties()
> ==>vp[age->1]
> ==>vp[age->2]
> gremlin> graph.close()
> ==>null
> gremlin> graph = TinkerGraph.open(configuration)
> ==>tinkergraph[vertices:1 edges:0]
> gremlin> graph.traversal().V().properties()
> ==>vp[age->2]
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)