21 Feb
2002
21 Feb
'02
8:04 p.m.
Hi, Are there ownership experts here ? I noticed that in lib/python/AccessControl/Owned.py in the Owned class, the "object.changeOwnership(user)" (line 97) method calls "new = userInfo(user)" (line 234). Then userInfo() checks "user.aq_inner.aq_parent" (line 240) The strange thing is that an user object (from any acl_users) has no "aq_inner" nor "aq_parent" attribute. And this raises an AttributeError when trying to change ownership. Did I take a wrong user object type (acl_users.getUser('foo')) or is this another bug ? TIA --Gilles Note : the line numbers are for the Owned.py coming with Zope 2.5.0 or CVS revision 1.15