Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (Leopard) SOLVED: Core Data validateForDelete problem



I created an own method to check all relationships and delete rules of the object I want to delete . So I can present the user an error message if deletion is not allowed for the object.
validateForDelete is now only called from core data when saving the store.
This works for me..


Thomas



Am 02.11.2007 um 07:09 schrieb mmalc crawford:


On Nov 1, 2007, at 11:01 PM, Thomas Dingler wrote:

I'm not able to delete relationships when delete rule is "Nullify". Performing "validateForDelete" fails for each relationship. It comes up with a validation error under Leopard. Under Tiger it works as aspected.

<http://developer.apple.com/releasenotes/Cocoa/CoreDataReleaseNotes/ index.html#//apple_ref/doc/uid/TP40006503-DontLinkElementID_11>

mmalc


_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >(Leopard) Core Data validateForDelete problem (From: Thomas Dingler <email@hidden>)
 >Re: (Leopard) Core Data validateForDelete problem (From: mmalc crawford <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.