Scott,
May be my environment is not clean as I think.
I will try with a fresh HEAD copy of Torque.
(I've made my trials inserting  HEAD source in a
regular 3.0b4 distribution.
I'll keep you informed.
Ciao,
Roberto.
>-- Messaggio Originale --
>Reply-To: "Turbine Torque Developers List" <[EMAIL PROTECTED]>
>Date: Tue, 15 Oct 2002 23:18:51 +1000
>Subject: Re: LargeSelect bug?
>From: Scott Eade <[EMAIL PROTECTED]>
>To: Turbine Torque Developers List <[EMAIL PROTECTED]>
>
>
>Roberto,
>
>I have added the suggested lines to my test case and it still passes.
>
>Looking at your code fragments it is evident that you are not running the
>CVS HEAD code (which is probably not recommended at present anyway).  I
am
>wondering if there is some other change that you do not have that is
>resulting in this problem occurring for you but not me.
>
>Is there a chance you could do a clean checkout to a new location and try
>again?
>
>Ciao,
>
>Scott
>--
>Scott Eade
>Backstage Technologies Pty. Ltd.
>http://www.backstagetech.com.au
>
>
>> From: [EMAIL PROTECTED]
>> Reply-To: "Turbine Torque Developers List"
>> <[EMAIL PROTECTED]>
>> Date: Tue, 15 Oct 2002 14:40:59 +0200
>> To: "Turbine Torque Developers List" <[EMAIL PROTECTED]>
>> Subject: Re: LargeSelect bug?
>>
>> Scott,
>> in your LargeSelectTest.testForPaginationCycle you don't
>> test record contents!
>>
>> Try to retrieve author_id from first record in first page and
>> compare it against author_id from first record in another page.
>>
>> In other words, add to LargeSelectTest.testForPaginationCycle
>> these two lines:
>>
>> // Page 1
>>       int firstId = ((Author)(results.get(0))).getAuthorId().intValue();
>> // added line 1
>> ....
>>
>> // Page 5
>>       assertTrue("first record contents",
>> // added line 2
>>                  ((Author)(results.get(0))).getAuthorId().intValue()
>>                  != firstId);
>> .....
>>
>> The last assert will fail, because result returned from every page are
>the
>> same,
>> (pagination cycling).
>> If memoryPageLimit > 1 cycling is present, but less evident.
>>
>> Roberto Resoli
>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>


__________________________________________________________________
Nuova Tiscali ADSL da 12,95 euro al mese.
Abbonati subito, entro il 31 ottobre l'attivazione e i consumi sono Gratis!

http://point.tiscali.it/ADSL/




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to