Details
-
Bug
-
Resolution: Done
-
Major - P3
-
Legacy C++ Implementation
-
OS X Snow Leopard, Windows 2003 R2 (32-bit)
Description
When importing JSON files containing dates before epoch, import fails with "Assertion: 10338:Invalid use of reserved field name"
Repro steps:
~>: echo '{ "d":
{"$date":-1} }' > before_epoch.json
~>: cat before_epoch.json
{ "d":
}
~>: bin/mongoimport -d test -c date2 --file before_epoch.json
Mon Apr 5 09:43:37 Assertion: 10338:Invalid use of reserved field name
Reproduced on OS X 1.4.0-x64, 1.5.1-pre-x64, Windows 2003R2 v1.4.0-x32
Attachments
Issue Links
- is duplicated by
-
SERVER-6170 Mongoimport unable to load Date before epoch
-
- Closed
-
- is related to
-
SERVER-6170 Mongoimport unable to load Date before epoch
-
- Closed
-
-
TOOLS-83 Mongoexport to CSV fails for dates before epoch.
-
- Closed
-