Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gremlin does not return vertex without Gaffer entity #3276

Closed
cn337131 opened this issue Aug 30, 2024 · 0 comments · Fixed by #3286
Closed

Gremlin does not return vertex without Gaffer entity #3276

cn337131 opened this issue Aug 30, 2024 · 0 comments · Fixed by #3286
Labels
bug Confirmed or suspected bug

Comments

@cn337131
Copy link
Member

Describe the bug
In Gaffer you can have an edge that has a SRC and DEST where the vertex does not have an actual entity associated with it in the Graph itself. The vertex still exists on the edge but there is no actual Entity. Currently in Gremlin this means if you seed with that vertex (g.V("vertex")) then nothing is returned. In standard Gaffer the associated edge should be returned and able to be used.

To Reproduce
Steps to reproduce the behaviour:

  1. Create an edge with no entity associated. e.g. a -> b where b is not an entity
  2. Seed a query with b in Gremlin - e.g. g.V("b)
  3. Find that nothing is returned.

Expected behaviour
Expect the graph to be able to use the vertex as a seed and to be able to traverse the edge.

@cn337131 cn337131 added the bug Confirmed or suspected bug label Aug 30, 2024
wb36499 added a commit that referenced this issue Sep 13, 2024
* add ability to seed with vertex only and tests

* checkstyle

* fix

* address comments

* doc fixes

* rename

* remove space

* address comments

---------

Co-authored-by: tb06904 <141412860+tb06904@users.noreply.github.com>
Co-authored-by: wb36499 <166839644+wb36499@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed or suspected bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant