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

undefined is converted to null in javascript shell

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL

      Current behavior:

      mongos> db.undef.insert(

      {"a":undefined}

      )
      mongos> db.undef.find()

      { "_id" : ObjectId("50abeca4901eeed1753debef"), "a" : null }

      mongos>

      This causes exportimport1.js to fail.

            Assignee:
            Unassigned Unassigned
            Reporter:
            sverch Shaun Verch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: