[JAVA-470] In { "$regex":"foo", "$options":"i" } form, $options is not optional Created: 13/Nov/11 Updated: 18/Jun/12 Resolved: 14/Nov/11 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | API |
| Affects Version/s: | 2.7 |
| Fix Version/s: | 2.8.0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | T. Dampier | Assignee: | Scott Hernandez (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | query, regex | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Core server unit tests show that it's permissible to leave off the $options field, as requested in However, Java driver will error out if one doesn't supply the $options field with a $regex query form. The following line is caller's ticket to (iirc) a NullPointerException : |
| Comments |
| Comment by Jeffrey Yemin [ 18/Jun/12 ] |
|
Closing for 2.8.0 release. |
| Comment by T. Dampier [ 14/Nov/11 ] |
|
Sweet – thanks, Scott! |
| Comment by auto [ 14/Nov/11 ] |
|
Author: {u'login': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}Message: |