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:59:00 UTC

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

     [ https://issues.apache.org/jira/browse/TINKERPOP-2485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marc de Lignie updated TINKERPOP-2485:
--------------------------------------
    Description: 
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()

  was:
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()


> 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.3.11, 3.4.8
>            Reporter: Marc de Lignie
>            Priority: Trivial
>
> 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)