-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 1.15.1
-
Component/s: Aggregation pipeline, Compass, Query History
-
Iteration Anemone
-
Not Needed
After saving a valid $regex query as a favorite (likely recent as well) and then restarting Compass, the query is converted to a RegExp() query that is rejected by Compass.
Initially, the query is saved as a favorite that can be reused, see the screenshot: valid_regex_as_favorite_before_restart.png.
After restarting Compass, that same query is now in RegExp() format (instead of $regex) and no longer considered valid by Compass. See the screenshot: invalid_regexp_after_compass_restart.png.
- backports
-
COMPASS-6356 "RegExp" query is changed in Recents to "pattern"
- Closed
- is related to
-
COMPASS-4758 RegEx query saved wrong in "recent" and "favorites"
- Closed
- related to
-
COMPASS-3490 "new Date()" support for aggregation pipeline builder
- Closed