[ZCM] [ZC] 1966/ 2 Comment "Batching in ZSQLMethod test is broken"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Tue Dec 13 01:28:52 EST 2005


Issue #1966 Update (Comment) "Batching in ZSQLMethod test is broken"
 Status Pending, Zope/bug low
To followup, visit:
  http://www.zope.org/Collectors/Zope/1966

==============================================================
= Comment - Entry #2 by suvit on Dec 13, 2005 1:28 am

the parameter 'query' is not empty, it equals to "''".
________________________________________
= Request - Entry #1 by Anonymous User on Dec 12, 2005 10:25 am

When using "Test" tab for ZSQLMethod which has some parameters 
only first 20 results are shown correctly. 
'(Next 20 results)' link is broken. It leads to page that says: 

Error, exceptions.NameError: name 'param_name' is not defined 
SQL used:
Could not render the query template!

This is because of not passing query parameters in the '(Next 20 results)' link. There is additional, unnecessary 'query' parameter in this link that is always empty:

http://host:8080/folder/my_method/manage_test?query_start=21&query=''
==============================================================



More information about the Zope-Collector-Monitor mailing list