That did not work for me either.
It was also suggested that I try inheriting from folder rather than
re-inventing folder.
Still no dice.
I think there is something that I don't understand about acquisition and
context. Why can an object be placed into context if it is stored as a
simple attribute of another object, but not if it is an element in a
list? Or what must be done differently when the objects are elements in
a list?
Alexis Roda wrote:
En/na kevin7kal ha escrit:
I've changed my code a bit, adding the docstring, Persistent to all
classes and
__allow_access_to_unprotected_attributes__ = 1 to all classes.
Still, I recieve the same error.
Sorry, my fault, should be __allow_access_to_unprotected_subobjects__.
If it does work then add the security declarations.
HTH
_______________________________________________
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )
_______________________________________________
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )