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

Translator in gremlin-javascript has trouble with array arguments

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.5.1
    • 3.6.0, 3.5.2
    • javascript, translator
    • None

    Description

      For something like g.V([1,2,3]) we get:

           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)
      

      This PR has the start of the fix with more context in the comments:

      https://github.com/apache/tinkerpop/pull/1507

      Attachments

        Activity

          People

            spmallette Stephen Mallette
            spmallette Stephen Mallette
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: