[Zope] Can't add objects to Folder-like product
Chris Withers
chrisw@nipltd.com
Sun, 11 Nov 2001 17:10:23 +0000
Jesper Holmberg wrote:
>
> class Parsing(Folder, Implicit, Persistent, RoleManager):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
You don't need any of these since Folder already subclasses them ;-)
> However, when I try to do this in my Python code, the troubles begin. I
> have this line in Parsing.py:
>
> self.manage_addProduct['OFSP'].manage_addFolder(name, title="")
hmmm... maybe self is acquisiton wrapped in this instance, in which case
_getproducts can't be acquired.
Is do_Steps called from Persing's __init__ method perhaps?
cheers,
Chris