Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1712

Loading graph from Gryo or GrahpSON into TinkerGraph doesn't load multi-properties

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 3.2.5
    • Fix Version/s: None
    • Component/s: io
    • Labels:
      None
    • Environment:
      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]
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              severin.stampler Severin Stampler

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment