[Zope] Why can't I use a method of an objectmanger I am tryin g to add to ?

Max Møller Rasmussen maxm@normik.dk
Thu, 13 Sep 2001 14:37:39 +0200


> From: Jens Vagelpohl [mailto:jens@zope.com]

> i have come up against a similar problem and solved it by calling...
> 
>      self = self.this()
> 
> before "using" self inside the factory method. i would place 
> this call 
> right before you call self._getNewId().

I solved it by renaming _getNewId() to getNewId() ... Go figure. Must have
something to do with permissions.

I will try you solution too though, as _getNewId() really is meant to be a
private method.

regards Max M