[COMPASS-4970] Creating "New Pipeline From Text" in Aggregations Tab is not successful if indentions/tabs are not YAML Created: 22/Jul/21  Updated: 03/Oct/23  Resolved: 04/Jan/22

Status: Closed
Project: Compass
Component/s: Aggregation pipeline, Compass
Affects Version/s: None
Fix Version/s: No version

Type: Bug Priority: Minor - P4
Reporter: Felicia Hsieh Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Documentation Changes: Not Needed

 Description   

Problem Statement/Rationale

What is going wrong?

When pasting an aggregation pipeline that does not follow strict indentions/tabs, the text block will not be accepted and generates an error, "Unable to extract pipeline stages: the provided input is not an array of objects."

Steps to Reproduce

How could an engineer replicate the issue you’re reporting?

Create a text block where the indentions don't match

Expected Results

What do you expect to happen?

Text block is accepted and pipeline stages are populated.

Actual Results

What do you observe is happening?

The error is described above.

Additional Notes

Any additional information that may be useful to include.


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