'NHibernate.AssertionFailure: no collection snapshot for orphan delete' when saving an entity with an empty collection with delete-orphan cascade
Description
This bug is related to NHibernate 2.0 RC1, but I was not able to select this version.
The description of this bug was initially recorded as NHibernate Bug NH-1419; however, upon researching the problem it was determined to be occuring when using the NHibernate Mapping Attributes.
The attached project will recreate the error.
Environment
None
Attachments
1
Activity
Show:
Pierre Henri Kuaté October 22, 2009 at 3:48 PM
This is a NHibernate issue; nothing that NHMA can fix.
Former user March 2, 2009 at 4:07 AM
We need this issue to fixed for a threading-issue where we use 'refresh' for child-objects of a root-aggregate. In our case: orderlines is a bag within order, and we update orderlines on different threads. After that process we evict orderlines from the nhsession and than use refresh on the order.
This bug is related to NHibernate 2.0 RC1, but I was not able to select this version.
The description of this bug was initially recorded as NHibernate Bug NH-1419; however, upon researching the problem it was determined to be occuring when using the NHibernate Mapping Attributes.
The attached project will recreate the error.