• 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
Session and Array Filtering Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Session and Array Filtering Problem


  • Subject: Session and Array Filtering Problem
  • From: David Avendasora <email@hidden>
  • Date: Tue, 27 Mar 2007 07:40:18 -0500

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??

Dave
_______________________________________________
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


  • Follow-Ups:
    • Re: Session and Array Filtering Problem
      • From: David LeBer <email@hidden>
    • Re: Session and Array Filtering Problem
      • From: Robert Walker <email@hidden>
  • Prev by Date: RE: Reusable component
  • Next by Date: Re: Session and Array Filtering Problem
  • Previous by thread: Re: Reusable component
  • Next by thread: Re: Session and Array Filtering Problem
  • Index(es):
    • Date
    • Thread