[
https://issues.apache.org/jira/browse/TINKERPOP-2333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jorge Bay closed TINKERPOP-2333.
--------------------------------
Resolution: Fixed
> 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
> Affects Versions: 3.3.9, 3.4.4
> Reporter: Jorge Bay
> Assignee: Jorge Bay
> Priority: Major
> Fix For: 3.4.5, 3.3.10
>
>
> 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)