27 Mar
2004
27 Mar
'04
10:29 a.m.
Chris Bruce wrote at 2004-3-24 14:03 -0800:
I am getting the following error while trying to add a ZClass programmatically with proxy set to manger: ... Module AccessControl.Owned, line 123, in getWrappedOwner ValueError: unpack list of wrong size
A bug in Zope 2.7's security code. The author had forgotten that there are unowned objects (such as ZClasses). The code breaks for unowned objects. Almost surely, it is easy to fix (look near line 123 of "AccessControl/Owned.py"). -- Dieter