Github user okram commented on the issue:
https://github.com/apache/tinkerpop/pull/486
This is a good find. However, the implementation is a bit gimpy.
`Step.getRequirements()` is already a recursive process as
`TraversalParents` will check their children for requirements. I propose we go
back to the `INVALIDATING_STEPS` model and just list all the steps that
explicitly require `PATH`. That is, add the ones we were missing and keep the
new test case you added to `IncidentToAdjacentStrategyTest`.
* `PathStep`
* `TreeStep`
* `CyclicPathStep`
* `SimplePathStep`
* `EdgeOtherVertexStep`
* `TreeSideEffectStep`
...then also add `LambdaHolder`.
---
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.
---