[
https://issues.apache.org/jira/browse/TINKERPOP-1832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16259139#comment-16259139
]
ASF GitHub Bot commented on TINKERPOP-1832:
-------------------------------------------
Github user spmallette commented on the issue:
https://github.com/apache/tinkerpop/pull/751
This PR is targetted at master (3.3.x) - any reason to not also target tp32
(3.2.x) or is this just a problem on the 3.3.x line?
> TraversalHelper.replaceStep sets previousStep to the wrong step
> ---------------------------------------------------------------
>
> Key: TINKERPOP-1832
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1832
> Project: TinkerPop
> Issue Type: Bug
> Components: process
> Affects Versions: 3.3.0
> Reporter: pieter martin
> Assignee: Daniel Kuppitz
>
> The bug is described over
> [here|http://mail-archives.apache.org/mod_mbox/tinkerpop-dev/201710.mbox/browser]
> I have tested [~dkuppitz] fix for it and all seems well.
> {code:java}
> public static <S, E> void replaceStep(final Step<S, E> removeStep, final
> Step<S, E> insertStep, final Traversal.Admin<?, ?> traversal) {
> final int i;
> traversal.removeStep(i = stepIndex(removeStep, traversal));
> traversal.addStep(i, insertStep);
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)