-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 1.6.2
-
Component/s: JavaScript
-
None
-
Environment:1.6.2 server on Win7 x64 ; client 1.6.3 on Ubuntu 10.04 server x86
-
ALL
-
Platforms F (01/29/16)
When inserting arrays that contain undefined elements, the first undefined element is turned to null & the rest of the array is silently truncated.
for example:
db.harbl.drop();
a = [1];
a[5] = 1;
printjson(a);
db.harbl.insert(
);
db.harbl.find();
- duplicates
-
SERVER-22053 Insertion of Array with undefined/null components.
- Closed