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

Multiple hasId's are or'd into GraphStep

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.4
    • 3.2.5
    • process
    • None

    Description

      From the dev mailing list:

          @Test
          public void testHasId() {
              final TinkerGraph graph = TinkerGraph.open();
              Vertex a = graph.addVertex(T.label, "A");
              Vertex b = graph.addVertex(T.label, "B");
      
              List<Vertex> vertices = graph.traversal().V().hasId(a.id()).hasId(b.id()).toList();
              Assert.assertTrue(vertices.isEmpty());
          }
      

      The test fails as the both vertices are returned.

      Attachments

        Issue Links

          Activity

            People

              dkuppitz Daniel Kuppitz
              dkuppitz Daniel Kuppitz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: