• 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: WODisplayGroup + qualifyDisplayGroup() + mutators = FAIL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WODisplayGroup + qualifyDisplayGroup() + mutators = FAIL


  • Subject: Re: WODisplayGroup + qualifyDisplayGroup() + mutators = FAIL
  • From: Owen McKerrow <email@hidden>
  • Date: Wed, 27 Aug 2008 23:05:01 +1000



On 27/08/2008, at 2:19 PM, Q wrote:

Has anyone else noticed that if you use qualifyDisplayGroup() on a WODisplayGroup to restrict displayedObjects() with a qualifier and then try to use insertNewObjectAtIndex, indexOfLastDisplayedObject or insertObjectAtIndex, they are all broken because the displayedObjects and allObjects arrays are no longer the same size.

Hmmm it may just be that its late at night, but aren't displayedObjects and allObjects almost always different in size ? I mean isn't that the point of having teh two of them, you have 30 objects in the all array of which you want to show 10 ( the display array).


Anyways doesn't help at all with your bug, but just curious as to what it was you meant. Is it that you have qualified the displayed objects so its now say 8 objects instead of 10, which would stuff up your batching as the batching is based of the allObjects array ?

Owen
_______________________________________________
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: WODisplayGroup + qualifyDisplayGroup() + mutators = FAIL
      • From: Q <email@hidden>
References: 
 >WODisplayGroup + qualifyDisplayGroup() + mutators = FAIL (From: Q <email@hidden>)

  • Prev by Date: WODisplayGroup + qualifyDisplayGroup() + mutators = FAIL
  • Next by Date: migrations and boolean values
  • Previous by thread: WODisplayGroup + qualifyDisplayGroup() + mutators = FAIL
  • Next by thread: Re: WODisplayGroup + qualifyDisplayGroup() + mutators = FAIL
  • Index(es):
    • Date
    • Thread