ObjectManager-derived ZClasses problem
Hello all, This might have been asked before (but the mailman archives are gone): I have a problem with ObjectManager-derived ZClasses. Scenario (using names from the ZClass tutorial): create a ZClass named CDCollection derived from ObjectManager, and inside that create a ZClass named CD. Now add a CDCollection. If you try to add a CD inside that, you get a not-so-nice "Resource not found" error (traceback included). Any ideeas ? overly-confused-ly yours, -Petru <!-- Traceback (innermost last): File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 179, in publish File /usr/local/zope/lib/python/Zope/__init__.py, line 201, in zpublisher_exception_hook (Object: RoleManager) File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 151, in publish File /usr/local/zope/lib/python/ZPublisher/BaseRequest.py, line 426, in traverse File /usr/local/zope/lib/python/AccessControl/User.py, line 373, in validate (Object: RoleManager) File /usr/local/zope/lib/python/ZPublisher/HTTPResponse.py, line 510, in notFoundError NotFound: (see above) -->
On Sat, Sep 25, 1999 at 07:58:22PM +0300, Petru Paler wrote:
Hello all,
This might have been asked before (but the mailman archives are gone): I have a problem with ObjectManager-derived ZClasses. Scenario (using names from the ZClass tutorial): create a ZClass named CDCollection derived from ObjectManager, and inside that create a ZClass named CD. Now add a CDCollection. If you try to add a CD inside that, you get a not-so-nice "Resource not found" error (traceback included). Any ideeas ?
overly-confused-ly yours, -Petru
if i got it right, this has to do with permission. i got the same thing when i tried creating aclass within a class. try looking at your *_factory permission and change it.
participants (2)
-
kedai -
Petru Paler