Cole Greer created TINKERPOP-2847:
-------------------------------------

             Summary: RequestId is case sensitive in JS GLV
                 Key: TINKERPOP-2847
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2847
             Project: TinkerPop
          Issue Type: Improvement
          Components: javascript
    Affects Versions: 3.5.5
            Reporter: Cole Greer


There is a bug in the javascript GLV where overridden requestID's must be 
provided in lowercase form.
For example:

This code will run as expected:
{code:java}
client.submit("g.V()", null, {requestId: 
'6457272a-4018-4538-b9ae-08dd5ddc0aa1'}) {code}
But this will never complete. The server replies with an all lower case UUID 
which the driver considers distinct from the upper case version. Therefore the 
driver acts as if no response is ever received.
{code:java}
client.submit("g.V()", null, {requestId: 
'6457272A-4018-4538-B9AE-08DD5DDC0AA1'}) {code}
It appears the JS driver is matching UUID's by checking for exact string 
matches, where they should be matched as equal hex values. Exclusively using 
lower case request id's is a viable near-term workaround.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to