[SERVER-10215] Cannot use $where expressions without a client and a namespace Created: 15/Jul/13 Updated: 15/Sep/16 Resolved: 15/Sep/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Spencer Jackson | Assignee: | Spencer Jackson |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Steps To Reproduce: | Create a tool, which exists in an executable outside of the core product. |
| Participants: |
| Description |
|
The WhereMatchExpression uses the thread's Client object to acquire a namespace for the globalScriptEngine's scope. However, a namespace does not always exist, such as in the case where one wishes to match against a BSON object. |
| Comments |
| Comment by Spencer Jackson [ 15/Sep/16 ] |
|
I'm going to close this as Works by Design, because this use case is no longer required. |