Github user dkuppitz commented on the issue:
https://github.com/apache/tinkerpop/pull/495
Since this PR touches `FilterRankingStrategyTest`s, it would be nice to
have this issue fixed as well (and have some tests added to cover this
scenario):
```
gremlin> g = TinkerFactory.createModern().traversal()
==>graphtraversalsource[tinkergraph[vertices:6 edges:6], standard]
gremlin> g.V(1).as("a").both().both().has("age").where(neq("a")).by("age")
The property does not exist as the key has no associated value for the
provided element: v[5]:age
Type ':help' or ':h' for help.
Display stack trace? [yN]N
gremlin>
g.V(1).as("a").both().both().has("age").where(neq("a")).by("age").explain()
==>Traversal Explanation
===========================================================================================================================================================================================================================================
Original Traversal [GraphStep(vertex,[1])@[a],
VertexStep(BOTH,vertex), VertexStep(BOTH,vertex),
TraversalFilterStep([PropertiesStep([age],value)]),
WherePredicateStep(neq(a),[value(age)])]
...
FilterRankingStrategy [O] [GraphStep(vertex,[1])@[a],
VertexStep(BOTH,vertex), VertexStep(BOTH,vertex),
WherePredicateStep(neq(a),[value(age)]),
TraversalFilterStep([PropertiesStep([age],value)])]
...
Final Traversal [TinkerGraphStep(vertex,[1])@[a],
VertexStep(BOTH,vertex), VertexStep(BOTH,vertex),
WherePredicateStep(neq(a),[value(age)]), NoOpBarrierStep(2500),
TraversalFilterStep([PropertiesStep([age],property)])]
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---