[SERVER-9121] Error on invalid $pull: "{$pull: {flags : {$each : [1,2,3]}}}" Created: 25/Mar/13 Updated: 11/Jul/16 Resolved: 18/Sep/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying, Write Ops |
| Affects Version/s: | None |
| Fix Version/s: | 2.5.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Scott Hernandez (Inactive) | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Operating System: | ALL | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
This should generate an error as it is not valid for storage and could be a simple user mistake. Also, when you use it a query filter it errors out.
I suspect that many things will error out on the query side but not when used with $pull/updates. |
| Comments |
| Comment by Scott Hernandez (Inactive) [ 18/Sep/13 ] | ||
|
Fixed with new update modifier framework:
|