[SERVER-10416] Using a dbref in a query nested in an "$in" gives "cannot next $ under $in" error Created: 02/Aug/13 Updated: 11/Jul/16 Resolved: 19/Nov/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | 2.5.5 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Taylor Romero | Assignee: | Benety Goh |
| Resolution: | Done | Votes: | 0 |
| Labels: | query_triage | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
MacOSX |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Steps To Reproduce: | Drop some dbrefs into a document and query against it using $in. |
||||||||
| Participants: | |||||||||
| Description |
|
This query works in all 2.5.1 (unstable) and all stable builds:
This query does not work in 2.5.1 (unstable) but does work in all stable builds:
Here is a sample document:
|
| Comments |
| Comment by Githook User [ 19/Nov/13 ] | |
|
Author: {u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}Message: | |
| Comment by Stennie Steneker (Inactive) [ 14/Aug/13 ] | |
|
Hi Taylor, Thank you for helping test a development release of MongoDB. Your $in example was missing a closing ']' bracket, but after adding that I can confirm the exception with MongoDB 2.5.1:
Regards, |