[COMPASS-2866] Agg Pipeline Builder does not allow comments, confusing error message Created: 23/May/18  Updated: 29/Oct/23  Resolved: 29/May/18

Status: Closed
Project: Compass
Component/s: Aggregation pipeline
Affects Version/s: 1.14.0
Fix Version/s: 1.14.0, 1.15.0

Type: Bug Priority: Major - P3
Reporter: Thomas Rueckstiess Assignee: Durran Jordan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File agg-stage-with-comment.png     PNG File agg-stage-without-comment.png    
Sprint: Sprint Vanilla Ice

 Description   

This may not be supported but I'm raising it anyway, perhaps as a feature request.

 

Affected Version

1.14.0-beta.1

Actual Behavior

When adding comments in the editor for aggregation stages, it doesn't parse the objects anymore and instead displays an error expecting a [ or AggStage.

That's confusing and it took me a while that the comment caused this issue.

See attached screenshots.

Expected behavior

The comments are silently ignored.



 Comments   
Comment by Grigori Melnik (Inactive) [ 26/May/18 ]

Makes sense

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