[GODRIVER-603] ChangeStream should not panic when a user changes ResumeToken Created: 17/Oct/18 Updated: 28/Oct/23 Resolved: 27/Nov/18 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | CRUD |
| Affects Version/s: | 0.0.16 |
| Fix Version/s: | 0.1.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kristofer Brandow (Inactive) | Assignee: | Isabella Siu (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | beta, neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Currently, when using a change stream, if a user specifies a $replaceRoot modifier, and the document has an _id field, the driver will blindly attempt to convert the _id field returned from the change stream document as a BSON document. When the _id field is an objectid.ObjectID this causes a panic. |
| Comments |
| Comment by Githook User [ 27/Nov/18 ] |
|
Author: {'name': 'Isabella Siu', 'email': 'isabella.siu@10gen.com'}Message: Change-Id: Ib495b53b1ca1867dc1c4f48a654e8f8405737839 |