Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-2867

Mongoimport reports success even if it fails to authenticate

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.9.2
    • 1.8.0
    • Tools
    • None
    • ALL

    Description

      If you have authentication enabled and you try to mongoimport data without specifying a username / password, mongo import will report success (e.g. "imported N objects") even tho it failed to import a single object. Seems like if we fail to authenticate, it should report an error and not try to import docs.

      Attachments

        Activity

          People

            spencer@mongodb.com Spencer Brody (Inactive)
            jsr Jared Rosoff
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: