[SERVER-7731] undefined is converted to null in javascript shell Created: 20/Nov/12  Updated: 15/Feb/13  Resolved: 20/Nov/12

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Shaun Verch Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-6102 Shell displays both 'undefined' and '... Closed
Operating System: ALL
Participants:

 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.



 Comments   
Comment by Scott Hernandez (Inactive) [ 20/Nov/12 ]

Dup of SERVER-6102

Generated at Thu Feb 08 03:15:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.