• 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
(Leopard) Core Data validateForDelete problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(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


  • Follow-Ups:
    • Re: (Leopard) Core Data validateForDelete problem
      • From: mmalc crawford <email@hidden>
  • Prev by Date: Re: [Leopard] Core Data model versioning vs. NSPersistentDocument
  • Next by Date: Re: (Leopard) Core Data validateForDelete problem
  • Previous by thread: Re: Core Data app saving zero length files
  • Next by thread: Re: (Leopard) Core Data validateForDelete problem
  • Index(es):
    • Date
    • Thread