[Zope-DB] batched results url from zsql method test doesn't pass query parameters

Lawrence Milliken MILLIKEL at neumann.edu
Tue Jun 28 11:31:36 EDT 2005

Hi all,

I initially had the "KeyError query" problem with testing zsql methods that returned more than 20 rows of results. I found the fix for that problem in the zope collector(#1812) but now when I try to follow the "next 20 results" I now get a ValueError because my input value is missing.

To fix the first problem I edited two lines in Zope2.7/lib/python/Shared/DC/ZRDB/dtml/customDefaultReport.dtml to read 

<a href="&dtml-URL;?query_start=&dtml-previous-sequence-start-number;&query=<dtml-var query url_quote missing=''>">
<a href="&dtml-URL;?query_start=&dtml-next-sequence-start-number;&query=<dtml-var query url_quote missing=''>">

Has anyone else gotten past this?

More information about the Zope-DB mailing list