[Zope] manage_addProduct problem

Max M maxm@mxm.dk
Fri, 13 Jun 2003 07:46:46 +0200


drew nichols wrote:

> Hi helpers
>
> I have a Product/class subclassing Folder.
>
> When I try to manage_addProduct['ProductName'].manage_addConstructor()
> inside my Product I get this. 

> AttributeError: _getProducts
>
> I can add products inside zope but not when i init the new object 
> instance. 


You should not add objects inside you __init__ method, but inside the 
konstruktor function.

regards Max M