Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1832

TraversalHelper.replaceStep sets previousStep to the wrong step

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.2.7, 3.3.1
    • Component/s: process
    • Labels:
      None

      Description

      The bug is described over here

      I have tested Daniel Kuppitz fix for it and all seems well.

          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);
          }
      

        Attachments

          Activity

            People

            • Assignee:
              dkuppitz Daniel Kuppitz
              Reporter:
              pietermartin pieter martin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: