[Zope] ZClass instance 'Add' button doesn't work

Jonothan Farr jfarr@real.com
Fri, 27 Aug 1999 12:48:30 -0700


I am running Zope 2.0b5 on Windows NT.

I tried the following:

- Created a new product using the Control Panel/Product Management
interface.
- Created a new ZClass (call it WidgetContainer) within that product which
is derived from ZObjectManager
- Created another new ZClass (call it Widget) inside that ZClass.
- Added a new instance of WidgetContainer to the root using the 'add item'
interface.
- Click on myWidgetContainer.
- Click the add button to add a new Widget to the container.
- I get the following error:

"Zope has encountered an error while publishing this resource.

Resource not found"

Here's the traceback:

Traceback (innermost last):
  File C:\Program Files\ZopeTest\lib\python\ZPublisher\Publish.py, line 212,
in publish_module
  File C:\Program Files\ZopeTest\lib\python\ZPublisher\Publish.py, line 179,
in publish
  File C:\PROGRA~1\ZOPETEST\lib\python\Zope\__init__.py, line 199, in
zpublisher_exception_hook
    (Object: RoleManager)
  File C:\Program Files\ZopeTest\lib\python\ZPublisher\Publish.py, line 151,
in publish
  File C:\PROGRA~1\ZOPETEST\lib\python\ZPublisher\BaseRequest.py, line 426,
in traverse
  File C:\Program Files\ZopeTest\lib\python\AccessControl\User.py, line 375,
in validate
    (Object: RoleManager)
  File C:\PROGRA~1\ZOPETEST\lib\python\ZPublisher\HTTPResponse.py, line 510,
in notFoundError
NotFound: (see above)

From looking through the code in the traceback, it looks like a problem with
permissions. At line 375 in User.py, it looks like roles is
_what_not_even_god_should_do, causing the NotFound exception to be thrown.

Can anyone help me figure out what's going wrong here? It seems like it
should 'just work'.

Thanks,

Jonothan Farr
RealNetworks, Inc.
jfarr@real.com