[Zope-dev] why does my externalmethod generate a ZODB transaction
Joachim Schmitz
js@aixtraware.de
Thu, 6 Jul 2000 09:29:53 +0200 (CEST)
Hi,
answering to myself, cause nobody else could find the reason in the code I
provided, because I didn't include the real culprit. Here is the very much
abreviatet version, which also generates a transaction:
def workform(self,REQUEST):
"Die Masken EinAusgabe"
self.form=REQUEST.form <-- this does it
return "this generated a transaction"
So don't modify the "self" of an external method.
Mit freundlichen Grüßen
Joachim Schmitz
AixtraWare, Ing. Büro für Internetanwendungen
Hüsgenstr. 33a, D-52457 Aldenhoven
Telefon: +49-2464-8851, FAX: +49-2464-905163