This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at email@example.com
We have run across an issue with BeginEdit() and CancelEdit() with regards to lazy loaded parents where the backup index is off when canceling.
In the BeginEditInternal() code below, you are only adding the toOneModel entity to backup if it is not lazy (see bolded code below).
However, in the CancelEdit() code below you are assuming the entity was added to the backup regardless of whether or not it is lazy. This causes the indexing to be off and the entity pulled from the backup will be the wrong entity if it was lazy loaded.
Let me know if you need more information.