[COMPASS-6407] Invalid $merge stage value crashes aggregation plugin. Created: 05/Jan/23  Updated: 29/Oct/23  Resolved: 09/Jan/23

Status: Closed
Project: Compass
Component/s: Aggregation pipeline
Affects Version/s: None
Fix Version/s: 1.35.0

Type: Bug Priority: Major - P3
Reporter: Basit Chonka Assignee: Basit Chonka
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2023-01-05-10-54-19-009.png    
Documentation Changes: Not Needed
Sprint: Iteration Seahorse

 Description   

Steps:

Create an aggregation with $merge stage. Set the stage value to empty object and run pipeline. It crashes the aggregation plugin.

 



 Comments   
Comment by Githook User [ 13/Jan/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: fix(aggregations): output stage destination name COMPASS-6407 (#3944)
Branch: more-darkmode-support-2
https://github.com/mongodb-js/compass/commit/37dbf08893c2fd506414ad51bc5e3395980d3c68

Comment by Githook User [ 12/Jan/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: fix(aggregations): output stage destination name COMPASS-6407 (#3944)
Branch: regression-test-for-identify
https://github.com/mongodb-js/compass/commit/37dbf08893c2fd506414ad51bc5e3395980d3c68

Comment by Githook User [ 10/Jan/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: fix(aggregations): output stage destination name COMPASS-6407 (#3944)
Branch: 1.35-releases
https://github.com/mongodb-js/compass/commit/37dbf08893c2fd506414ad51bc5e3395980d3c68

Comment by Githook User [ 09/Jan/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: fix(aggregations): output stage destination name COMPASS-6407 (#3944)
Branch: COMPASS-6142-react-17-dnd-kit
https://github.com/mongodb-js/compass/commit/37dbf08893c2fd506414ad51bc5e3395980d3c68

Comment by Githook User [ 09/Jan/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: fix(aggregations): output stage destination name COMPASS-6407 (#3944)
Branch: main
https://github.com/mongodb-js/compass/commit/37dbf08893c2fd506414ad51bc5e3395980d3c68

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