[COMPASS-4977] Can't create a view from a pipeline with hidden stages Created: 29/Jul/21  Updated: 29/Oct/23  Resolved: 20/Aug/21

Status: Closed
Project: Compass
Component/s: Compass
Affects Version/s: 1.28.1
Fix Version/s: 1.28.4

Type: Bug Priority: Major - P3
Reporter: Sergey Petushkov Assignee: Le Roux Bodenstein
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2021-07-29-11-09-07-348.png    
Story Points: 2
Documentation Changes: Not Needed
Sprint: 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.


Generated at Wed Feb 07 22:38:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.