26 Jul
2002
26 Jul
'02
7:01 p.m.
THerp@apriori.de writes:
... However, since I condensed the code to simply tell each component to render itself, I get an error when I try to modify the component via the interface. I tracked it down to common.manage_changeProperties, which throws an AttributeError, error value: getOwner. ... from Products.PythonScripts.standard import DTML ... myDTML = DTML(the_template.document_src()) ... print myDTML(context, request, response) I fear, this stopped working with Zope 2.2.
The object "DTML" returns does (apparently) not have an owner. Since Zope 2.2, an owner is essential to protect against Trojan horses (read the Zope 2.2 security documentation). Dieter