27 Mar
2004
27 Mar
'04
5:49 p.m.
Already fixed and posted to the Collector. Chris ----- Original Message ----- From: Dieter Maurer To: Chris Bruce Cc: zope@zope.org Sent: Saturday, March 27, 2004 2:29 AM Subject: Re: [Zope] Zope 2.7 Problem w/Value Error: unpack list of wrong size 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