[COMPASS-3128] Restart changes $regex favorite to invalid RegExp favorite Created: 13/Sep/18 Updated: 29/Oct/23 Resolved: 28/Apr/22 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | Aggregation pipeline, Compass, Query History |
| Affects Version/s: | 1.15.1 |
| Fix Version/s: | 1.31.3 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Brian Blevins | Assignee: | Le Roux Bodenstein |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | history, regex | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||
| Documentation Changes: | Not Needed | ||||||||||||||||||||
| Sprint: | Iteration Anemone | ||||||||||||||||||||
| Description |
|
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. |
| Comments |
| Comment by Githook User [ 09/May/22 ] |
|
Author: {'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}Message: use mongodb-query-parser 2.4.5
|
| Comment by Githook User [ 02/May/22 ] |
|
Author: {'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}Message: use mongodb-query-parser 2.4.5
|
| Comment by Githook User [ 02/May/22 ] |
|
Author: {'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}Message: use mongodb-query-parser 2.4.5
|
| Comment by Githook User [ 29/Apr/22 ] |
|
Author: {'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}Message: use mongodb-query-parser 2.4.5
|
| Comment by Githook User [ 28/Apr/22 ] |
|
Author: {'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}Message: use mongodb-query-parser 2.4.5
|
| Comment by Githook User [ 28/Apr/22 ] |
|
Author: {'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}Message: use mongodb-query-parser 2.4.5
|
| Comment by Githook User [ 28/Apr/22 ] |
|
Author: {'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}Message: use mongodb-query-parser 2.4.5
|
| Comment by Jeffrey Mayer [ 14/Sep/18 ] |
|
I have this issue with recent history. I belive there is a mistype- your last sentence should say After restarting Compass, that same query is NOW in RegExp() and not valid. |