[Zope-PTK] LoginManager problem

Kevin Dangoor kid@kendermedia.com
Sun, 11 Jun 2000 16:12:04 -0400


Here's the setup
/acl_users - LoginManager with one user that is a Manager... using cookies
to authenticate
/test - Folder created by that Manager

If I try to add a LoginManager to /test (again, as that Manager), I get this
error:

  <STRONG>Error Type: KeyError</STRONG><BR>
  <STRONG>Error Value: _owner</STRONG><BR>

Traceback (innermost last):
  File /home/kid/Zope2/lib/python/ZPublisher/Publish.py, line 222, in
publish_module
  File /home/kid/Zope2/lib/python/ZPublisher/Publish.py, line 187, in
publish
  File /home/kid/Zope2/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
  File /home/kid/Zope2/lib/python/ZPublisher/Publish.py, line 171, in
publish
  File /home/kid/Zope2/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: manage_addLoginManager)
  File /home/kid/Zope2/lib/python/ZPublisher/Publish.py, line 112, in
call_object
    (Object: manage_addLoginManager)
  File /home/kid/Zope2/lib/python/Products/LoginManager/LoginManager.py,
line 230, in manage_addLoginManager
  File /home/kid/Zope2/lib/python/OFS/ObjectManager.py, line 249, in
_setObject
    (Object: ElementWithAttributes)
  File /home/kid/Zope2/lib/python/AccessControl/Owned.py, line 267, in
manage_fixupOwnershipAfterAdd
    (Object: SheetProviderContainer)
  File /home/kid/Zope2/lib/python/AccessControl/Owned.py, line 174, in
changeOwnership
    (Object: SheetProviderContainer)
KeyError: (see above)

I'm thinking that a Manager *should* be able to add a LoginManager to a
subfolder, correct?

Kevin
http://www.byproducts.com - Humor and Novelties