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

JavaScript GLV: GraphSON2/3 Edge deserialization is invalid

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3.9, 3.4.4
    • 3.4.5, 3.3.10
    • javascript
    • None

    Description

      Edge is currently deserialized as:

          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'])
          );
      

      Expecting outV and inV as a nested element.

      When the actual format is:

          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'])
          );
      

      Attachments

        Activity

          People

            jorgebg Jorge Bay
            jorgebg Jorge Bay
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: