[CSHARP-163] C# driver cannot handle GridFS files that have null for aliases or contentType Created: 01/Feb/11 Updated: 02/Apr/15 Resolved: 01/Feb/11 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | 0.11 |
| Fix Version/s: | 1.0 |
| Type: | Improvement | 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 |
|
Some drivers always write the aliases and contentType fields for a GridFS file and use a BSON null value if no other value has been provided. The C# driver throws an exception when trying to process these files. The C# driver should be prepared to handle a BSON null value for these fields even if it never writes nulls itself in order to interoperate with other drivers. |
| Comments |
| Comment by Robert Stam [ 01/Feb/11 ] |
|
Fixed. |