-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 1.3.1
-
Component/s: None
-
None
-
Environment:Windows 64 bit
I'm usingn mongo for logging, when I try to call ToBsonDocument on an object that is mapped with nhibernate and has a property of type IList<T>, nhibernate will create a PErsistentGenericBag<T>, and it cause a StackOverflowException when I call ToBsonDocument
The exact type of the property is
Name = "PersistentGenericBag`1" FullName = "NHibernate.Collection.Generic.PersistentGenericBag`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"} System.Type
- related to
-
CSHARP-424 When attempting to serialize an object with circular references detect that and throw a catchable exception instead of a fatal StackOverflowException
- Closed