Details
-
Bug
-
Resolution: Unresolved
-
Major - P3
-
None
-
Major Change
-
ALL
Description
Errors should be returned for commands for the following conditions:
- Missing (required) parameters (fields in bson docs)
- Extra parameters not expected
- Invalid types of the parameters
The Command interface can be changed to enumerate the parameters expected, their types and if they are required.
Attachments
Issue Links
- is duplicated by
-
SERVER-19621 createCollection does not fail on invalid arguments
-
- Closed
-
-
SERVER-8294 FTS: Misspelled parameter does not give an error
-
- Closed
-
- is related to
-
SERVER-13572 Push element in any position of array in the subdocument
-
- Closed
-
-
SERVER-17234 geoNear command should return error for invalid arguments
-
- Closed
-
-
SERVER-4269 report bad options sent to a command
-
- Closed
-