Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
3.2.5
-
None
-
None
-
Linux or Windows, Gremlin console 3.2.5, TinkerGraph
Description
- 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:
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]