On Sat, May 16, 2009 at 8:13 AM, ALEXander <alexan...@wackazong.com> 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 (Cocoa-dev@lists.apple.com)

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/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to