Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-1287

collection.remove throws a 'Cannot convert undefined or null to object'

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.3
    • Affects Version/s: None
    • Component/s: None
    • Environment:
      Arch Linux, Node.js v9.3.0

      Whenever I call <Collection>.remove(args) with any kind of selector, this error gets thrown and nothing gets removed: https://why-are-you-buying-clothes-at.the-soup.store/ededb7.png

      Here is a fully self contained example: https://why-are-you-buying-clothes-at.the-soup.store/7f4e33.png

            Assignee:
            daniel.aprahamian@mongodb.com Daniel Aprahamian (Inactive)
            Reporter:
            aetheryx Zain Ali
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: