• 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
Invalidating Objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Invalidating Objects


  • Subject: Invalidating Objects
  • From: Andrew Lindesay <email@hidden>
  • Date: Wed, 19 May 2010 09:24:28 +1200

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

  • Follow-Ups:
    • Re: Invalidating Objects
      • From: Ramsey Gurley <email@hidden>
    • Re: Invalidating Objects
      • From: Marc Guenther <email@hidden>
  • Prev by Date: Re: ?? about opportunistic locking...
  • Next by Date: Re: Get rid of warning in binding value e.g. @sum.totalCost
  • Previous by thread: Uploading files larger than 2.1 GB fails
  • Next by thread: Re: Invalidating Objects
  • Index(es):
    • Date
    • Thread