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

Can't filter documents by directly passing ObjectId to the input

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:

      Problem Statement/Rationale

      Inserting ObjectId in the query input doesn't filter documents

      Steps to Reproduce

      Enter a valid ObjectId in the query bar filter input

      Expected Results

      Get filtered results from the server

      Actual Results

      Error:

      Failed to parse: filter: ObjectId('...'). 'filter' field must be of BSON type object.
      

      Additional Notes

      Regression in driver, will go away when NODE-5126 is fixed and we update

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

              Created:
              Updated: