Re: Session and Array Filtering Problem
Re: Session and Array Filtering Problem
- Subject: Re: Session and Array Filtering Problem
- From: David LeBer <email@hidden>
- Date: Tue, 27 Mar 2007 09:12:05 -0400
On 27-Mar-07, at 8:40 AM, David Avendasora wrote:
Okay, I have a odd behavior happening.
When I create and insert an object into my default editing context,
and set all the various fields and relationships everything works
just fine, but if I try to retrieve a list of all the possible
objects for one of the relationships (to populate a pop-up button)
all I get is the already selected one and not all of them. If I let
the session expire then look at it again, the pop-up button has all
the objects in it, just as I'd expect.
In a completely different part of the code, as part of the creation
and population process, I filter a _different_ NSArray of objects
of the same class and it is this filtering that is causing the
problem, BUT it is done in a different class and I'm filtering a
completely different NSArray.
Why would filtering one NSArray of objects cause a different
NSArray of those same objects to be filtered as well??
Could we see some code?
--
;david
--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: http://www.codeferous.com
blog: http://david.codeferous.com
--
Toronto Area Cocoa / WebObjects developers group:
http://www.tacow.org
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden