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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.28.4
    • 1.28.1
    • Compass
    • None
    • 2
    • Not Needed
    • Iteration Johannesburg

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: