[Zope] problem with superValues
Fri, 7 Mar 2003 20:12:06 +0100
Im trying to send an E-Mail within an external python script each time
an object is edited. Therefor I use superValues to locate the MailHost
mailhost=getattr(self, self.superValues('Mail Host').id)
If the object that sends the mail already exists anything goes fine.
But if the object is edited for the first time (via the __init__
procedure that calls the edit procedure) superValues can't find the
MailHost object (IndexError: list index out of range).
Any ideas what's going wrong?
That you're not paranoid doesn't mean they aren't right behind you.