[
https://issues.apache.org/jira/browse/TINKERPOP-2658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stephen Mallette closed TINKERPOP-2658.
---------------------------------------
Fix Version/s: 3.6.0
3.5.2
Assignee: Stephen Mallette
Resolution: Fixed
> Translator in gremlin-javascript has trouble with array arguments
> -----------------------------------------------------------------
>
> Key: TINKERPOP-2658
> URL: https://issues.apache.org/jira/browse/TINKERPOP-2658
> Project: TinkerPop
> Issue Type: Bug
> Components: javascript, translator
> Affects Versions: 3.5.1
> Reporter: Stephen Mallette
> Assignee: Stephen Mallette
> Priority: Major
> Fix For: 3.6.0, 3.5.2
>
>
> For something like {{g.V([1,2,3])}} we get:
> {code}
> TypeError: bytecodeOrTraversal.getBytecode is not a function
> at Translator.translate (lib/process/translator.js:51:100)
> at Translator.translate (lib/process/translator.js:83:33)
> at Context.<anonymous> (test/unit/translator-test.js:111:42)
> {code}
> This PR has the start of the fix with more context in the comments:
> https://github.com/apache/tinkerpop/pull/1507
--
This message was sent by Atlassian Jira
(v8.20.1#820001)