RE: [Zope] Arguments problem
-----Original Message----- From: Donald Holten [mailto:donner@biophysics.lanl.gov] Sent: Thursday, July 29, 1999 3:09 PM To: zope@zope.org Subject: Re: [Zope] Arguments problem
I have done as was recommended and am now getting a different error: Error Type: Bad Request Error Value: ['Firstname,', 'Lastname,', 'Email,', 'Institution,', 'Telephone,', 'Lastvisit,', 'Passwordvalue,', 'Passworddate,']
The code looks good but where are all the extra commas above coming from? it shouldn't be 'Institution,' but rather 'Institution'. There must be something wrong with what is calling the DTML method that calls the ZSQL method. What's the traceback say? -Michel
Here's the call: <!--#call "add_users(Firstname=Firstname, Lastname=Lastname, Email=Email, Institution=Institution, Telephone=Telephone, Lastvisit='1-20-77', Passwordvalue=Password, Passworddate='1-30-77', Group=Group)"-->
And here's the SQL Method: insert into Users (firstname, lastname, email, institution, telephone, lastvisit, passwordvalue, passworddate, groupname) values(<!--#sqlvar Firstname type=string-->, <!--#sqlvar Lastname type=string-->, <!--#sqlvar Email type=string-->, <!--#sqlvar Institution type=string-->, <!--#sqlvar Telephone type=string-->, <!--#sqlvar Lastvisit type=string-->, <!--#sqlvar Passwordvalue type=string-->, <!--#sqlvar Passworddate type=string-->, <!--#sqlvar Group type=string-->)
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(To receive general Zope announcements, see: http://www.zope.org/mailman/listinfo/zope-announce
For developer-specific issues, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
participants (1)
-
Michel Pelletier