RE: Using <dtml-var>s in ZSQL methods?
"Dieter Maurer" <[email protected]> Sun, 17 Jun 2007 20:50:49 +0200
| Newsgroups | gmane.comp.web.zope.database |
|---|---|
| Message-ID | <[email protected]> |
Ken Winter wrote at 2007-6-16 16:03 -0400: > ... >Exception Type > KeyError >Exception Value > 'id_list' > >Traceback (innermost last): > ... > * Module Products.CMFCore.FSPythonScript, line 164, in _exec > * Module None, line 4, in people_delete_control > <FSControllerPythonScript at /DAgroups/people_delete_control used for >/DAgroups/portal_factory/People/people.2007-06-16.3625931808> > Line 4 > * Module Shared.DC.ZRDB.DA, line 481, in __call__ > <FSZSQLMethod at /DAgroups/people_delete_by_id used for >/DAgroups/portal_factory/People/people.2007-06-16.3625931808> > * Module DocumentTemplate.DT_String, line 476, in __call__ > >KeyError: 'id_list' The traceback tells you that it comes from the "FSControllerPythonScript" "people_delete_control" and not from a DMTL object (as you have shown us in a previous message). Almost surely, you did not call the Z SQL Method with an "id_list" keyword parameter there. -- Dieter