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

Invalid http tests with ?gremlin=1-1

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Done
    • Affects Version/s: 3.3.11, 3.4.8
    • Fix Version/s: 3.5.0, 3.4.10
    • Component/s: server
    • Labels:
      None

      Description

      Various tests with ?gremlin=1-1 are compared against

            node.get("result").get("data").intValue() or

            node.get("result").get("data").get(GraphSONTokens.VALUEPROP).get(0).intValue()

      which accidentally result in the 0 value.

      Replace with ?gremlin=2-1 and 

            node.get("result").get("data").get(GraphSONTokens.VALUEPROP).get(0).get(GraphSONTokens.VALUEPROP).intValue()

        Attachments

          Activity

            People

            • Assignee:
              spmallette Stephen Mallette
              Reporter:
              HadoopMarc Marc de Lignie
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: