Ticket #4229 (closed Bug: fixed)

Opened 7 years ago

Last modified 3 years ago

Error when using the Sharing tab

Reported by: Anonymous User Owned by:
Priority: minor Milestone: Past
Component: Infrastructure Version:
Severity: Keywords:
Cc:

Description

I am getting "TypeError: iterable argument required" when I click on the sharing tab of a folder on my site. The folder did inherit roles from another folder and there is one non-out of the box role present (dunno if this is important).

I traced this down to line 763 in PloneTool.py:

roles2 = roles2.append(role)

IMHO it should read only "roles2.append(role)" since the append method does not return anything. hence the list is being set to nothing and the next time when the append method is being called on it, the user gets the TypeError.

Change History

comment:1 Changed 7 years ago by hannosch

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in SVN for Plone 2.1.

comment:2 Changed 3 years ago by hannosch

  • Component changed from Permissions to Infrastructure
Note: See TracTickets for help on using tickets.