[Zope] orphan handling/sequence-size bug?
FURUYA Satoshi
satoshi@hanakuruma.com
Fri, 09 Feb 2001 09:40:21 +0900
hi
I tried and succeesed using 2.1.6
I tried 2.3 too.
but I can not successed. If I can I will report.
I found this ML.
Perhaps this mail is for 2.3??
http://groups.yahoo.com/group/zope/messagesearch?query=dtml-in+batching
thanks
Satoshi Furuya
satoshi@hanakuruma.com
English is not easy for me.
Olaf Zanger<3A824839.CEEC5F3C@soli-con.com>wrote
>thanks for helping me,
>
>unfortunately the code changed to 2.3. i tried to change it back to the suggestion,
>but didn't help
>(i am not that firm with python)
>
>
>FURUYA Satoshi schrieb:
>>
>> hi!
>>
>> What is your Zope Version?
>2.3
>
>>
>> http://classic.zope.org:8080/Collector/939/view
>this bug is still in 2.3
>
>>
>> http://classic.zope.org/pipermail/zope-dev/2000-August/006360.html
>in zope 2.3 the above linked area in DT_In.py looks unfortunately different:
> elif next:
> try:
> # The following line is a sneaky way to test whether
> # there are more items, without actually
> # computing a length:
> sequence[end]
> pstart,pend,psize=opt(end+1-overlap,0,
> sz,orphan,sequence)
>--> except IndexError:
> if self.elses: result=render(self.elses, md)
> else: result=''
> else:
>--> kw['next-sequence']=1
> kw['next-sequence-start-index']=pstart-1
> kw['next-sequence-end-index']=pend-1
> kw['next-sequence-size']=pend+1-pstart
> result=render(section,md)
>