Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-4977

Can't create a view from a pipeline with hidden stages

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.28.4
    • Affects Version/s: 1.28.1
    • Component/s: Compass
    • Labels:
      None
    • 2
    • Not Needed
    • Iteration Johannesburg

      Problem Statement/Rationale

      When trying to create a view from an aggregation pipeline with some stages disabled, the view is not created and "A pipeline stage specification object must contain exactly one field." error is shown

      Steps to Reproduce

      • Create any pipeline in Compass with a few stages and disable one of them
      • Try to create a view from the pipeline

      Expected Results

      View is created, disabled step is not affecting the pipeline

      Actual Results

      Said error is shown

      Additional Notes

      Any additional information that may be useful to include.

            Assignee:
            leroux.bodenstein@mongodb.com Le Roux Bodenstein
            Reporter:
            sergey.petushkov@mongodb.com Sergey Petushkov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: