You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Marko A. Rodriguez (JIRA)" <ji...@apache.org> on 2015/04/28 21:04:06 UTC
[jira] [Closed] (TINKERPOP3-628) {{as}} step should never be
ignored
[ https://issues.apache.org/jira/browse/TINKERPOP3-628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marko A. Rodriguez closed TINKERPOP3-628.
-----------------------------------------
Resolution: Fixed
Fix Version/s: 3.0.0.GA
Assignee: Marko A. Rodriguez
If a user tries to rename a step that has already been labeled, an {{IllegalStateException}} occurs.
{code}
gremlin> graph = TinkerFactory.createModern()
==>tinkergraph[vertices:6 edges:6]
gremlin> g = graph.traversal()
==>graphtraversalsource[tinkergraph[vertices:6 edges:6], standard]
gremlin> g.V().as('a').as('b').out().as('c')
The previous step has already been labeled: GraphStep([],vertex)@a
Display stack trace? [yN]
{code}
> {{as}} step should never be ignored
> -----------------------------------
>
> Key: TINKERPOP3-628
> URL: https://issues.apache.org/jira/browse/TINKERPOP3-628
> Project: TinkerPop 3
> Issue Type: Bug
> Components: process
> Reporter: Matt Frantz
> Assignee: Marko A. Rodriguez
> Fix For: 3.0.0.GA
>
>
> M8 repro:
> {noformat}
> gremlin> g = TinkerFactory.createModern()
> ==>tinkergraph[vertices:6 edges:6]
> gremlin> g.traversal().V(1).as('a').as('b').select('a')
> The step with label a does not exist
> {noformat}
> My use case involves building complex traversals that use step labels as symbolic references for certain subsets of the traversal. It is often desirable to point several references at the same location.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)