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

undefined is converted to null in javascript shell

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None
    • ALL

    Description

      Current behavior:

      mongos> db.undef.insert(

      {"a":undefined}

      )
      mongos> db.undef.find()

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

      mongos>

      This causes exportimport1.js to fail.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: