You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Marc de Lignie (Jira)" <ji...@apache.org> on 2020/12/04 07:58:00 UTC

[jira] [Created] (TINKERPOP-2485) Invalid http tests with ?gremlin=1-1

Marc de Lignie created TINKERPOP-2485:
-----------------------------------------

             Summary: Invalid http tests with ?gremlin=1-1
                 Key: TINKERPOP-2485
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2485
             Project: TinkerPop
          Issue Type: Task
          Components: server
    Affects Versions: 3.4.8, 3.3.11
            Reporter: Marc de Lignie


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

node.get({color:#008000}"result"{color}).get({color:#008000}"data"{color}).intValue() or

node.get({color:#008000}"result"{color}).get({color:#008000}"data"{color})

.get(GraphSONTokens.{color:#660e7a}VALUEPROP{color}).get({color:#0000ff}0{color})

.intValue() which accidentally result in the 0 value. Replace with ?gremlin=2-1 and 

node.get({color:#008000}"result"{color}).get({color:#008000}"data"{color}).get(GraphSONTokens.{color:#660e7a}VALUEPROP{color}).get({color:#0000ff}0{color}).get(GraphSONTokens.{color:#660e7a}VALUEPROP{color}).intValue()



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