[SERVER-8715] $push with only $sort pushes a $sort field Created: 25/Feb/13 Updated: 11/Jul/16 Resolved: 02/Oct/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Write Ops |
| Affects Version/s: | 2.4.0-rc0 |
| Fix Version/s: | 2.5.3 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Kristina Chodorow (Inactive) | Assignee: | Scott Hernandez (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
It seems like this should error out. Example:
|
| Comments |
| Comment by Scott Hernandez (Inactive) [ 02/Oct/13 ] | |||||||||||||||||||||||||
--Better error messages to come... | |||||||||||||||||||||||||
| Comment by Kristina Chodorow (Inactive) [ 25/Feb/13 ] | |||||||||||||||||||||||||
|
Same deal with just $slice and $sort:
|