undefined is converted to null in javascript shell

XMLWordPrintableJSON

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

      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
              Reporter:
              Shaun Verch (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: