(Leopard) Core Data validateForDelete problem
(Leopard) Core Data validateForDelete problem
- Subject: (Leopard) Core Data validateForDelete problem
- From: Thomas Dingler <email@hidden>
- Date: Fri, 2 Nov 2007 07:01:06 +0100
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:
This email sent to email@hidden