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

Running an emtpy bulk operation throws a TypeError

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial - P5
    • Resolution: Won't Do
    • Affects Version/s: 4.0.0
    • Fix Version/s: None
    • Component/s: Shell
    • Labels:
      None

      Description

      This may be intentional, if so please feel free to close. The 3.6 driver threw a MongoError when you tried to run an empty BulkOp, the 4.0 driver throws a TypeError. This is a super minor insignificant change but just in case it was unintentional I wanted to make a ticket so I would be notified if the behavior changed back to MongoError, as that would break our tests.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              anna.herlihy Anna Herlihy (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: