[Zope-DB] Using <dtml-var>s in ZSQL methods?
Dieter Maurer
dieter at handshake.de
Sun Jun 17 14:50:49 EDT 2007
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
More information about the Zope-DB
mailing list