[ https://issues.apache.org/jira/browse/TINKERPOP-2920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephen Mallette updated TINKERPOP-2920: ---------------------------------------- Description: The following triggers the failure assuming "example" isn't present on a vertex: {code} g.withStrategies(new SubgraphStrategy(vertexProperties: constant(true))). V().project("example").by("example") {code} Note that {{values('example")}} will work on 3.6.2, but not 3.5.5 which probably has something to do with differences in {{by()}} handling and {{ProductiveByStrategy}}. {code} gremlin> g.withStrategies(new SubgraphStrategy(vertexProperties: constant(true))). ......1> withoutStrategies(ProductiveByStrategy). ......2> V().project("example").by(values("example")) The provided traverser does not map to a value: v[1][TinkerVertex]->[PropertiesStep([example],property), OrStep([[ClassFilterStep(VertexProperty)], [TraversalFilterStep([ConstantStep(true)])]]), PropertyValueStep][DefaultGraphTraversal] parent[[TinkerGraphStep(vertex,[]), ProjectStep([example],[[PropertiesStep([example],property), OrStep([[ClassFilterStep(VertexProperty)], [TraversalFilterStep([ConstantStep(true)])]]), PropertyValueStep]])]] Type ':help' or ':h' for help. Display stack trace? [yN] {code} was: The following triggers the failure assuming "example" isn't present on a vertex: {code} g.withStrategies(new SubgraphStrategy(vertexProperties: constant(true))). V().project("example").by("example") {code} Note that {[values('example")}} will work on 3.6.2, but not 3.5.5 which probably has something to do with differences in {{by()}} handling and {{ProductiveByStrategy}}. > SubgraphStrategy failure when property key not present on vertex in by() > ------------------------------------------------------------------------ > > Key: TINKERPOP-2920 > URL: https://issues.apache.org/jira/browse/TINKERPOP-2920 > Project: TinkerPop > Issue Type: Bug > Components: process > Affects Versions: 3.5.5 > Reporter: Stephen Mallette > Priority: Minor > > The following triggers the failure assuming "example" isn't present on a > vertex: > {code} > g.withStrategies(new SubgraphStrategy(vertexProperties: constant(true))). > V().project("example").by("example") > {code} > Note that {{values('example")}} will work on 3.6.2, but not 3.5.5 which > probably has something to do with differences in {{by()}} handling and > {{ProductiveByStrategy}}. > {code} > gremlin> g.withStrategies(new SubgraphStrategy(vertexProperties: > constant(true))). > ......1> withoutStrategies(ProductiveByStrategy). > ......2> V().project("example").by(values("example")) > The provided traverser does not map to a value: > v[1][TinkerVertex]->[PropertiesStep([example],property), > OrStep([[ClassFilterStep(VertexProperty)], > [TraversalFilterStep([ConstantStep(true)])]]), > PropertyValueStep][DefaultGraphTraversal] parent[[TinkerGraphStep(vertex,[]), > ProjectStep([example],[[PropertiesStep([example],property), > OrStep([[ClassFilterStep(VertexProperty)], > [TraversalFilterStep([ConstantStep(true)])]]), PropertyValueStep]])]] > Type ':help' or ':h' for help. > Display stack trace? [yN] > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)