[SERVER-7660] findAndModify causes exception when "new" and "upsert" are true and a sort is provided (with auth enabled) Created: 14/Nov/12 Updated: 11/Jul/16 Resolved: 14/Nov/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 2.2.0 |
| Fix Version/s: | 2.2.3, 2.3.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Olivier Vaillancourt | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
OSX 64bit - 10.8.2 (Mountain Lion) |
||
| Operating System: | ALL | ||||||||
| Steps To Reproduce: | 1- Set up (or start) a database server with authentication enabled.
|
||||||||
| Participants: |
| Description |
|
findAndModify queries throw an exception if all of the following conditions are met:
Other notes:
Error: The shell outputs the following when the exception occurs :
The stack trace is as follow (along with a couple of lines prior/after for context):
|
| Comments |
| Comment by auto [ 08/Jan/13 ] |
|
Author: {u'date': u'2012-11-14T05:17:52Z', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}Message: |
| Comment by Olivier Vaillancourt [ 14/Nov/12 ] |
|
Awesome thanks! |
| Comment by auto [ 14/Nov/12 ] |
|
Author: {u'date': u'2012-11-14T05:17:52Z', u'email': u'eliot@10gen.com', u'name': u'Eliot Horowitz'}Message: |
| Comment by Olivier Vaillancourt [ 14/Nov/12 ] |
|
2.2.1 can be added to the list of affected versions. |
| Comment by Olivier Vaillancourt [ 14/Nov/12 ] |
|
Quick note concerning the operating systems - I've marked it as "all" but it's only been tested on OSX and Linux. |