Details
-
Bug
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
None
-
None
-
ALL
Description
It seems that you can currently insert cursor objects into mongo, which is a regression.
> var x = db.test.find()
|
> db.test.insert(x)
|
SingleWriteResult({
|
"writeErrors" : [ ],
|
"writeConcernErrors" : [ ],
|
"nInserted" : 1,
|
"nUpserted" : 0,
|
"nUpdated" : 0,
|
"nModified" : 0,
|
"nRemoved" : 0,
|
"upserted" : [ ]
|
})
|
When using write commands (default, when using shell against new mongod), input validation is going to be deferred to the server and is not yet fully implemented.
Attachments
Issue Links
- related to
-
SERVER-82524 Complete TODO listed in SERVER-12345
-
- Blocked
-
-
SERVER-56551 Complete TODO listed in SERVER-12345
-
- Closed
-