• 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: Core Data Cascade delete rule sometimes doesn't
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data Cascade delete rule sometimes doesn't


  • Subject: Re: Core Data Cascade delete rule sometimes doesn't
  • From: "Doug Knowles" <email@hidden>
  • Date: Mon, 11 Feb 2008 16:27:07 -0500

Well, per the tech note, I do call processPendingChanges before I do the
manual validation (which catches undeleted now-invalid objects).  And my
understanding is that processPendingChanges is automatically called on a
Save, which is where I first encountered the invalid records.
The release note implies that Core Data is doing some work (like propagating
deletions) at the top of the event loop; could it be that the processing of
incoming AppleEvents is short-circuiting whatever Core Data normally does?

On Feb 11, 2008 2:19 PM, Adam Swift <email@hidden> wrote:


> Have you tried manually calling "processPendingChanges" after the
> delete?  Cascade deletes are not processed immediately:
>
>
> http://developer.apple.com/releasenotes/Cocoa/CoreDataReleaseNotes/index.html
>
>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Core Data Cascade delete rule sometimes doesn't (From: "Doug Knowles" <email@hidden>)
 >Re: Core Data Cascade delete rule sometimes doesn't (From: Adam Swift <email@hidden>)

  • Prev by Date: Re: @property problem
  • Next by Date: Re: @property problem
  • Previous by thread: Re: Core Data Cascade delete rule sometimes doesn't
  • Next by thread: Cocoaheads Lake Forest (92630) meeting 2/13 7pm - Topic: Cocoa 101
  • Index(es):
    • Date
    • Thread