• 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: Jim Correia <email@hidden>
  • Date: Sun, 17 May 2009 09:33:14 -0400

On Sat, May 16, 2009 at 8:13 AM, ALEXander <email@hidden> wrote:

> I am currently developing a Core Data Application. I have an entity (set)
> with a boolean attribute 'isActive' (optional, non-transient, non-indexed,
> default NO). For some of my objects, this attribute is set to YES. There is
> another entity (control) with a to-one relationship to a set.
>
> The problem occurs when saving and reopening a document: If I use a
> predicate in a fetch request for the entity control which contains a
> predicate format string like @"set.isActive == YES", no objects are
> returned. Before saving and reopening, the correct objects are returned.
>  How can that happen? I know (by looking at the data with the pre-built core
> data entity interfaces from IB) that there are objects where that predicate
> is true.
>
> To me, this is a bug. But of course, I hope to be wrong.

Do you have a standalone sample which demonstrates this problem? From
the description above, it is hard to say what might be going on.

Writing a standalone sample can be tedious and time consuming. But in
the process of doing so, you may discover that this is actually a bug
in your code/logic. If not, then you'll have a shareable sample that
you can show us and attach to a bug report.

Jim
_______________________________________________

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: Is there only one CFRunLoopRun which can implement in one process
  • Next by Date: Re: Which field is the NSTextFieldCell drawing?
  • Previous by thread: Core Data Predicate Bug?
  • Next by thread: Re: Core Data Predicate Bug?
  • Index(es):
    • Date
    • Thread