[COMPASS-4045] RegExp interpreted wrong when creating agg from text or when modifying a view Created: 17/Dec/19  Updated: 27/Oct/23  Resolved: 28/Jul/22

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

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

Documentation Changes: Not Needed

 Description   

When I have an aggregation that contains RegExp('source', 'opts'), that is actually imported into the builder as RegExp('source', opts) (missing quotes around opts.

Same happens when modifying a read-only view that contains a RegExp object.



 Comments   
Comment by Massimiliano Marcon [ 28/Jul/22 ]

Seems to be gone away although I am not sure in which version. Definitely fixed in 1.32.5+

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