[CXX-802] coll.drop() throws if collection doesn't exist Created: 06/Jan/16 Updated: 11/Jan/16 Resolved: 06/Jan/16 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 3.0.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Samantha Ritter (Inactive) | Assignee: | Tess Avitabile (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | C++11 Driver MongoDB 3.2 |
| Description |
|
Currently, you must surround calls to coll.drop() with a check to see if the collection exists before trying to drop it. It seems like this shouldn't be necessary. |
| Comments |
| Comment by Githook User [ 06/Jan/16 ] |
|
Author: {u'username': u'tessavitabile', u'name': u'Tess Avitabile', u'email': u'tess.avitabile@mongodb.com'}Message: |
| Comment by Tess Avitabile (Inactive) [ 06/Jan/16 ] |
| Comment by Githook User [ 06/Jan/16 ] |
|
Author: {u'username': u'samantharitter', u'name': u'samantharitter', u'email': u'samantha.ritter@10gen.com'}Message: |
| Comment by Andrew Morrow (Inactive) [ 06/Jan/16 ] |
|
Definitely a bad user experience. I've put it in rc0 because it seems like it should be easy. |