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

db.getLastError() always returns null when using autocomplete

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Shell
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      db.test.insert({_id:1})
      db.test.insert({_id:1})
      db.getLastError()

      Show
      db.test.insert({_id:1}) db.test.insert({_id:1}) db.getLastError()

      Description

      I use Mongodb 2.4.5 for windows(32bit). The db.getLastError() always returns null even if an error occurs, but only when using auto-complete for the "getLastError" call.

        Attachments

        1. m1.PNG
          m1.PNG
          14 kB
        2. m2.PNG
          m2.PNG
          27 kB
        3. mylog.txt
          3 kB

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: