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

TinkerGraph Gryo Export looses multi-properties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Not A Problem
    • 3.1.4
    • None
    • tinkergraph
    • None

    Description

      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]
      

      Attachments

        Activity

          People

            spmallette Stephen Mallette
            mbroecheler Matthias Broecheler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: