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

and/or infix and choose() do not work correctly.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.2
    • Fix Version/s: 3.2.3
    • Component/s: process
    • Labels:
      None

      Description

      The fragment below works as expected.

      choose(and(has("name"), out('knows')), ...)
      

      However, the next fragment doesn't.

      choose(has("name").and().out('knows'), ...)
      

      The problem is that ConnectiveStrategy doesn't treat the HasNextStep injected by choose() correctly. The bigger issue is "why do we have a HasNextStep?! Retarded. We just need to wrap the predicate traversal in a filter(). ...

        Attachments

          Activity

            People

            • Assignee:
              okram Marko A. Rodriguez
              Reporter:
              okram Marko A. Rodriguez
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: