[COMPASS-5357] View editor does not like pipelines with $function Created: 08/Dec/21  Updated: 27/Oct/23  Resolved: 21/Feb/22

Status: Closed
Project: Compass
Component/s: Aggregation pipeline
Affects Version/s: 1.29.6
Fix Version/s: 1.30.1

Type: Bug Priority: Major - P3
Reporter: Massimiliano Marcon Assignee: Alena Khineika
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2021-12-08-09-50-10-636.png    
Story Points: 3
Documentation Changes: Not Needed
Sprint: Iteration Versailles

 Description   

Problem Statement/Rationale

When a view definition contains a $function the body of the function is stored as Code() and Compass does not seem to like that.

Steps to Reproduce

Create a view with a $function, save it and then try to edit it in Compass.

Expected Results

It works fine and I can edit the view.

Actual Results

It breaks.

Additional Notes

Any additional information that may be useful to include.


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