[Zope] dtml-in size error

mauricio_sl@uol.com.br mauricio_sl@uol.com.br
Tue, 28 Mar 2000 18:21:15 -0300 (BRT)


This one goes especialy to ho write zope.

I have found that the dtml-in has a problem when you specify a batch-size that is less than the double of the length of the input list.
Ex.:
a list of 6 itens:
when size is 3, dtml-in returns 3 itens, correct. (3*2 <= 6) = true
when size is 4, dtml-in returns 6 itens, error. (4*2 <= 6) = false

Is this a bug?

Best Regards,

Mauricio Souza Lima - Hiperlógica
mauricio@hiper.com.br - www.hiper.com.br