[CSHARP-1392] NullReferenceException thrown when deserializing an immutable class with an extra elements property Created: 31/Aug/15 Updated: 20/Jan/16 Resolved: 01/Sep/15 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Serialization |
| Affects Version/s: | 2.0.1 |
| Fix Version/s: | 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 |
|
Given the following immutable class:
Attempting to deserialize a document with an extra element throws a NullReferenceException. To reproduce:
|
| Comments |
| Comment by Githook User [ 01/Sep/15 ] |
|
Author: {u'username': u'rstam', u'name': u'rstam', u'email': u'robert@robertstam.org'}Message: |
| Comment by Githook User [ 01/Sep/15 ] |
|
Author: {u'username': u'rstam', u'name': u'rstam', u'email': u'robert@robertstam.org'}Message: |