[CSHARP-1524] CreateCollection throws NullReferenceException when options is null Created: 06/Jan/16  Updated: 20/Jan/16  Resolved: 07/Jan/16

Status: Closed
Project: C# Driver
Component/s: API
Affects Version/s: 2.2
Fix Version/s: 2.2.1

Type: Bug Priority: Major - P3
Reporter: Robert Stam Assignee: Robert Stam
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Calling the sync version of CreateCollection and passing null for the options results in a NullReferenceException being thrown.



 Comments   
Comment by Githook User [ 07/Jan/16 ]

Author:

{u'username': u'rstam', u'name': u'rstam', u'email': u'robert@robertstam.org'}

Message: CSHARP-1524: Added tests and fixed an additional bug.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/7e18b2e59384dadaf9f68b0c808428e6d715ff81

Generated at Wed Feb 07 21:39:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.