Re: [Zope-CMF] problem in setting local roles for newly created object

2006-04-01 Thread Dieter Maurer
Bartek Gorny wrote at 2006-3-29 11:50 +0200: ... I have a script which creates a new instance of a certain portal_type by a method constructContent, and then calls manage_setLocalRoles. And I get an exception: Module AccessControl.Role, line 362, in manage_setLocalRoles AttributeError: __hash__

Re: [Zope-CMF] problem in setting local roles for newly created object

2006-04-01 Thread Bartek Gorny
On 4/1/06, Dieter Maurer [EMAIL PROTECTED] wrote: Bartek Gorny wrote at 2006-3-29 11:50 +0200: ... I have a script which creates a new instance of a certain portal_type by a method constructContent, and then calls manage_setLocalRoles. And I get an exception: Module AccessControl.Role,

[Zope-CMF] problem in setting local roles for newly created object

2006-03-29 Thread Bartek Gorny
Hi I have a script which creates a new instance of a certain portal_type by a method constructContent, and then calls manage_setLocalRoles. And I get an exception: Module AccessControl.Role, line 362, in manage_setLocalRoles AttributeError: __hash__ and the lines in question are: 361