Ticket #1112 (closed defect: fixed)

Opened 14 years ago

Last modified 14 years ago

getRecipients: errors when removing groups from directories

Reported by: tziade Owned by: tziade
Priority: P2 Milestone: CPS 3.4.0
Component: CPSSubscriptions Version: TRUNK
Severity: normal Keywords:
Cc:

Description

getRecipients will raise an error if it tries to work with a group that has been removed for the group directory, because aclu.getGroupById(group_id) returns None.

Solution:

  • passing in this case
  • cleaning up self.groups to remove unexisting groups

Change History

comment:1 Changed 14 years ago by janguenot

yup go ahead.

comment:2 Changed 14 years ago by tziade

  • Owner changed from trac to tziade

comment:3 Changed 14 years ago by tziade

"aclu.getGroupById(group_id) returns None" -> only with CPSUserFolder, that will behave the same

comment:4 Changed 14 years ago by tziade

see #1156

comment:5 Changed 14 years ago by tziade

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

fixed in [29865] and [29864]

Note: See TracTickets for help on using tickets.