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

Recent and favourited queries are not serialized correctly

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: 1.35.0
    • Component/s: Query History
    • None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • Not Needed

      See HELP-41885. We do serialization when query is persisted in a EJSON format, but after queries are loaded and passed to query bar, we convert them back and forth with mongodb-query-parser, the regexp value is lost due to the package not being able to understand and handle the BSONRegExp type correctly

        1. screenshot-1.png
          80 kB
          Sergey Petushkov

            Assignee:
            Unassigned Unassigned
            Reporter:
            sergey.petushkov@mongodb.com Sergey Petushkov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: