Marko A. Rodriguez created TINKERPOP-1500:
---------------------------------------------
Summary: and/or infix and choose() do not work correctly.
Key: TINKERPOP-1500
URL: https://issues.apache.org/jira/browse/TINKERPOP-1500
Project: TinkerPop
Issue Type: Bug
Components: process
Affects Versions: 3.2.2
Reporter: Marko A. Rodriguez
The fragment below works as expected.
{code}
choose(and(has("name"), out('knows')), ...)
{code}
However, the next fragment doesn't.
{code}
choose(has("name").and().out('knows'), ...)
{code}
The problem is that {{ConnectiveStrategy}} doesn't treat the {{HasNextStep}}
injected by {{choose()}} correctly. The bigger issue is "why do we have a
{{HasNextStep}}?! Retarded. We just need to wrap the predicate traversal in a
{{filter()}}. ...
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)