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

Bytecode Bindings lost when followed by a child traversal

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4.8
    • Fix Version/s: 3.5.0, 3.4.9
    • Component/s: process
    • Labels:
      None

      Description

      The following:

      g.V().
        choose(__.out().count()).
          option(b.of("two", 2), __.values("name")).
          option(b.of("three",3), __.values("age"))
      

      Will not process the bindings properly as Bindings.clear() is called on each addStep(). Aside from it being a bug in writing that kind of traversal, it also causes trouble for Translator instances

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                spmallette Stephen Mallette
                Reporter:
                spmallette Stephen Mallette
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: