Mailing Lists: Apple Mailing Lists

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

(Leopard) Core Data validateForDelete problem



Hi,

I have a strange problem with Core Data.

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.
I filed a bug report and contacted the DTS team, but no luck until now. So I want to ask the list if there are any ideas how to deal it.


You can test it very easily: Use the Core Data Project Template in XCode, create a model with Employee and Salary entities and connect them with a relationship. Then create a Master-Detail Interface where you can add an employee. Finally write some code, that creates a salary, sets the salary to the employee's salary and then run validateForDelete: for the employee. This will cause an error.

If you want to get a test project, just mail me.

Any ideas?

Greetings,

Thomas


_______________________________________________


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


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.