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

RegExp interpreted wrong when creating agg from text or when modifying a view

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: 1.20.1
    • Component/s: Aggregation pipeline
    • Labels:
      None
    • Not Needed

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            massimiliano.marcon@mongodb.com Massimiliano Marcon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: