• 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
Re: Core Data Predicate Bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data Predicate Bug?


  • Subject: Re: Core Data Predicate Bug?
  • From: Jerry Krinock <email@hidden>
  • Date: Sun, 17 May 2009 15:22:28 -0700


On 2009 May 16, at 05:13, ALEXander wrote:

I am currently developing a Core Data Application. I have an entity...

I'd like to echo Jim's advice to make a standalone sample project.

Generalizing your description of the problem, you're saying that a Core Data fetch predicated with "someBool == YES" does not work correctly after a saved document is reopened. Think about that. It means that either

(a) This is a major bug in Core Data that no one has ever noticed, and many of us using Core Data are in deep doodoo.
(b) You've not yet identified all the conditions necessary to trigger the problem.


You need to download Apple's DepartmentAndEmployees sample, add some boolean attribute to the Employee entity, add some code to execute a fetch as you've done in your app, and test. If it fails, the answer is (a). File a bug. If not, make changes to your app or DepartmentAndEmployees to make them more similar. Before the two apps become identical, you'll find the answer.

Either way, reply and let us know. If it turned out to be a silly mistake on your part, just say that.

I end up doing this several times in a typical month. Usually, I find my silly mistake before posting :)

_______________________________________________

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


References: 
 >Core Data Predicate Bug? (From: ALEXander <email@hidden>)

  • Prev by Date: re: Fetch Requests on Non Standard Classes in Core Data
  • Next by Date: Re: microsoft file formats in cocoa
  • Previous by thread: Re: Core Data Predicate Bug?
  • Next by thread: Is there only one CFRunLoopRun which can implement in one process
  • Index(es):
    • Date
    • Thread