FROM : Doug Knowles
DATE : Mon Feb 11 22:27:07 2008
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_removed>> 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
>
>
DATE : Mon Feb 11 22:27:07 2008
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_removed>> 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
>
>
| Related mails | Author | Date |
|---|---|---|
| Doug Knowles | Feb 11, 05:21 | |
| Adam Swift | Feb 11, 20:19 | |
| Doug Knowles | Feb 11, 22:27 |






Cocoa mail archive

