[Zope] Problem with ZSQL query results...sort of...

Tino Wildenhain tino@wildenhain.de
Wed, 28 Feb 2001 19:13:40 +0100


Hi Allen,

--On Mittwoch, 28. Februar 2001 12:19 -0500 "Schmidt, Allen J." 
<aschmidt@nv.cc.va.us> wrote:

> I have a system that has been working fine. Changed some things on a DTML
> method that calls the query but have since changed it back because of the
> errors.
>
>
> This part at the bottom of the search method had been working fine. Now I
> get errors from next-sequence-start-number. I am getting a KeyError when
> accessing a query when more than 50 which is the default size.
>
> IT WAS FINE!!! It is the generic code from the generated search method
> created.
>
>
>    <dtml-if sequence-end>
>
>       <dtml-if next-sequence>
>
>          <a href="<dtml-var URL><dtml-var sequence-query
>             >query_start=<dtml-var
>             next-sequence-start-number>">
^^^^^^^^^^^^^^ was this new line intended? If its in your app too, I would
expect the error there.

Regards
Tino


>          (Next <dtml-var next-sequence-size> results)
>          </a>
>
>       </dtml-if next-sequence>
>    </dtml-if sequence-end>
>
>
> The production application is down while I look into this.
> ANY suggestion is appreciated!
>
> Allen
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )