[SERVER-22206] $near query operator should validate its arguments Created: 15/Jan/16 Updated: 14/Apr/16 Resolved: 08/Feb/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Geo, Querying |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Siyuan Zhou | Assignee: | Benjamin Murphy |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Sprint: | Query F (02/01/16), Query 10 (02/22/16) | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
Invalid arguments are ignored silently. MongoDB should error out for invalid arguments, e.g. "maxDistance" instead of "$maxDistance".
|