Jorge Bay created TINKERPOP-2333:
------------------------------------

             Summary: JavaScript GLV: GraphSON2/3 Edge deserialization is 
invalid
                 Key: TINKERPOP-2333
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2333
             Project: TinkerPop
          Issue Type: Bug
          Components: javascript
            Reporter: Jorge Bay
            Assignee: Jorge Bay


Edge is currently deserialized as:

{code:javascript}
    new g.Edge(
      this.reader.read(value['id']),
      this.reader.read(value['outV']),
      value['label'],
      this.reader.read(value['inV']),
      this.reader.read(value['properties'])
    );
{code}

Expecting outV and inV as a nested element.

When the actual format is:

{code:javascript}
    new Edge(
      this.reader.read(value['id']),
      new Vertex(this.reader.read(value['outV']), 
this.reader.read(value['outVLabel'])),
      value['label'],
      new Vertex(this.reader.read(value['inV']), 
this.reader.read(value['inVLabel'])),
      this.reader.read(value['properties'])
    );
{code}




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to