[Zope-PTK] can't add loginmanager below root

Kevin Dangoor kid@kendermedia.com
Fri, 23 Jun 2000 18:31:44 -0400


This is Zope 2.2, of course:

Try this:

Login as a Manager (not the superuser)
Add a Folder
Try to add a LoginManager

likely you'll receive an error (KeyError for _owner)...

  File /home/kid/Zope2/lib/python/Products/LoginManager/LoginManager.py,
line 231, 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 not sure whether this is LM's fault or something with the current access
control. I'm guessing the LM I'm trying to add *should* be owned by my user
ID, since I am logged in as a Manager and not superuser...

Ideas?
Kevin