db.collection after db.close() > does not handle error

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 2.1.3
    • Affects Version/s: 2.1.2
    • Component/s: None
    • Environment:
      ubuntu 14.04, node 0.10, mongodb 3.07
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      See code file to reproduce the error.

      The error occurs after calling db.close() independently of whether or not the DB is dropped.

      If you run the example with strict set to false for db.collection, the callback is executed, but without indicating an error (which I think it should).

      If you run the above example with strict set to true for db.collection, the callback is not executed.

      Sorry to be the bearer of bad news. Happy new year.

            Assignee:
            Christian Amor Kvalheim
            Reporter:
            Eric Vallee [X]
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: