[Zope] ObjectManager-derived ZClasses problem

Petru Paler ppetru@coltronix.com
Sat, 25 Sep 1999 19:58:22 +0300 (EEST)


      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)

-->