• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Exception in saveChanges(): rowDiffsForAttributes - snapshot does not contain value
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Exception in saveChanges(): rowDiffsForAttributes - snapshot does not contain value
      • From: Chuck Hill <email@hidden>
References: 
 >Exception in saveChanges(): rowDiffsForAttributes - snapshot does not contain value (From: Chuck Hill <email@hidden>)
 >Re: Exception in saveChanges(): rowDiffsForAttributes - snapshot does not contain value (From: Chuck Hill <email@hidden>)
 >Re: Exception in saveChanges(): rowDiffsForAttributes - snapshot does not contain value (From: Mike Schrag <email@hidden>)
 >Re: Exception in saveChanges(): rowDiffsForAttributes - snapshot does not contain value (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Using String in SOAP
  • Next by Date: Re(2): WebObjects 5.3.3 released
  • Previous by thread: Re: Exception in saveChanges(): rowDiffsForAttributes - snapshot does not contain value
  • Next by thread: Re: Exception in saveChanges(): rowDiffsForAttributes - snapshot does not contain value
  • Index(es):
    • Date
    • Thread