[
https://issues.apache.org/jira/browse/TINKERPOP-2333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17024238#comment-17024238
]
Jorge Bay commented on TINKERPOP-2333:
--------------------------------------
I'll submit a patch as part of TINKERPOP-2332, to minimize the noise in the
project for a simple fix.
> 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
> Priority: Major
>
> 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)