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

TraversalHelper.replaceStep sets previousStep to the wrong step

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3.0
    • 3.2.7, 3.3.1
    • process
    • None

    Description

      The bug is described over here

      I have tested dkuppitz 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

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

            Dates

              Created:
              Updated:
              Resolved: