[Zope] zclass propertysheets

Dieter Maurer dieter@handshake.de
Tue, 29 Oct 2002 20:39:44 +0100


Danny Morgan writes:
 > from within
 > 
 > the following one-line .py script returns '1':
 >      return(context.propertysheets.common.history.hasProperty('recent'))
 > 
 > when changed to:
 >      return(context.propertysheets.common.history.getProperty('recent'))'',
 > 
 > the result is an attribute error, with the following traceback:
 > 
 > Traceback (innermost last):
 > ...
 >   File /usr/local/zope/2.3.3/lib/python/ZClasses/Property.py, line 139, in v_self
 >     (Object: Traversable)
 > AttributeError: _zclass_
Unfortunately, I cannot help you.

In my Zope 2.5.1, "ZClasses.ZPropertySheet.v_self" no longer uses
"_zclass_".
Maybe, upgrading is an option for you?


Dieter