[
https://issues.apache.org/jira/browse/TINKERPOP-1712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stephen mallette closed TINKERPOP-1712.
---------------------------------------
Resolution: Not A Problem
Please see the last part of this section:
http://tinkerpop.apache.org/docs/current/reference/#_configuration_3
you just need to set the {{defaultVertexPropertyCardinality}} option to {{list}}
> Loading graph from Gryo or GrahpSON into TinkerGraph doesn't load
> multi-properties
> ----------------------------------------------------------------------------------
>
> Key: TINKERPOP-1712
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1712
> Project: TinkerPop
> Issue Type: Bug
> Components: io
> Affects Versions: 3.2.5
> Environment: Linux or Windows, Gremlin console 3.2.5, TinkerGraph
> Reporter: Severin Stampler
>
> * Create a simple graph with TinkerGraph.
> * Create a vertex
> * Create multiple properties with cardinality list on that vertex
> * Save the graph to Gryo or GraphSON
> * Load the graph from the saved file
> * ==> the vertex has only one property
> Example:
> {code:groovy}
> graph = TinkerGraph.open()
> g = graph.traversal()
> v = g.addV().property('name','marko').property('name','marko a.
> rodriguez').next()
> g.V().properties()
> // Output:
> // ==>vp[name->marko]
> // ==>vp[name->marko a. rodriguez]
> graph.io(IoCore.gryo()).writeGraph("../test.kryo");
> newGraph = TinkerGraph.open()
> newGraph.io(IoCore.gryo()).readGraph("../test.kryo");
> ng = newGraph.traversal()
> ng.V().properties()
> // Output:
> // ==>vp[name->marko a. rodriguez]
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)