[Zope] Zsql_method doesnt work

Dieter Maurer dieter@handshake.de
Mon, 10 Jul 2000 20:55:08 +0200 (CEST)


Mario Premke writes:
 > I have the ZSQL-Method:
 > arguments : login
 > 
 > select user_passwd as real_password
 > from users
 > where users.user_login=<dtml-sqlvar name=login type=string>
 > 
 > when I now press "change and test" and insert a valid login into
 > the Login-field I get:
 > 
 > Error, Missing Input: Missing input variable, login 
Your query template does not see the argument "login".

Are you sure, you did write the argument correctly?
You know, Zope is case sensitiv.

If it is not wrong, then maybe, this is one of the Zope 2.1.6
Z SQL method bugs. Look in the collector
(URL:http://classic.zope.org:8080/Collector) for a patch.



Dieter