Re: Exception in saveChanges(): rowDiffsForAttributes - snapshot does not contain value
Re: Exception in saveChanges(): rowDiffsForAttributes - snapshot does not contain value
- Subject: Re: Exception in saveChanges(): rowDiffsForAttributes - snapshot does not contain value
- From: Mike Schrag <email@hidden>
- Date: Thu, 22 Feb 2007 10:51:36 -0500
I don't know that I am seeing snapshots invalidated. When this
happens, I can log out editingContext().committedSnapshotForObject
(eo) and see that the values are not null. But the snapshot that
the EODatabaseOperation gets is empty. At this point I am only
guessing at how that might be happening.
committedSnapshotForObject returns the EO's clone of the
EODatabaseContext snapshot, I think, so definitely if things aren't
locked exactly right you can end up with a race condition where
EODatabaseContext clears its snapshot but the notifications haven't
gone out to everyone to clear theirs. I'm also not exactly sure of
the behavior of an EO invalidation with respect to
eo.__originalSnapshot(). I don't know if that actually hangs around
or not (meaning, maybe that's actually expected behavior when an EO
has been invalidated? I've just never tested that particular case).
ms
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden