Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-3128

Restart changes $regex favorite to invalid RegExp favorite

    • 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.

            Assignee:
            leroux.bodenstein@mongodb.com Le Roux Bodenstein
            Reporter:
            brian.blevins@mongodb.com Brian Blevins
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: