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

ComputerVerificationStrategy fails for nested match() steps

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.0-incubating, 3.1.2-incubating
    • Fix Version/s: 3.2.1
    • Component/s: process
    • Labels:
      None

      Description

      A nested match() can leave the star-graph w/o the compiler complaining about it; this ultimately leads to a RuntimeException. The most simple query to reproduce it:

      g = TinkerFactory.createModern().traversal().withComputer()
      g.V().filter(match(
          __.as("project").in("created").as("person"),
          __.as("person").values("name").as("name")
        ))
      

      Of course the filter step is pointless in this example, but that's the easiest way to reproduce it.

        Attachments

          Activity

            People

            • Assignee:
              okram Marko A. Rodriguez
              Reporter:
              dkuppitz Daniel Kuppitz
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: