Re: Invalidating Objects
Re: Invalidating Objects
- Subject: Re: Invalidating Objects
- From: Marc Guenther <email@hidden>
- Date: Thu, 20 May 2010 16:43:45 +0200
Hi,
this sounds familiar. We have severe problems with vanishing snapshots, but only on one installation. Unfortunately, we found no way to reproduce this on our testing systems.
There was a thread about this a while ago, but no real solution:
http://lists.apple.com/archives/Webobjects-dev/2010/Mar/msg00330.html
Otherwise, what you describe is exactly what we are seeing. We also use invalidate...(), the nulled out EO is never refetched, the only way to recover is to restart the app.
Well, if you would be able to reproduce this in a small defined scenario, that would be extremely helpful.
Marc
On 18.05.2010, at 23:24, Andrew Lindesay wrote:
> Hello;
>
> As part of a built-in "change notification" facility, I am using "EOObjectStoreCoordinator.invalidateObjectsWithGlobalIDs(..)" with the relevant OSC locked. All use of other editing contexts are locked and unlocked correctly. Occasionally I seem to end up with "disappearing snapshots" where all the values of the snapshot go to NULL -- I can only imagine this would be linked to my use of 'invalidate..'. Other new editing contexts then see the NULLed-out EO and the EO does not seem to re-fault in that instance. When that "corrupted" EO is used in some sort of qualifier, EOF will treat the "primary-key qualifier" as looking for NULL.
>
> Any ideas where to look or has anybody else had this problem and has any pointers?
>
> cheers.
>
> ___
> Andrew Lindesay
> www.silvereye.co.nz
>
> _______________________________________________
> 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
_______________________________________________
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