Merged in [8733] from olau@iola.dk:\n Summary: Fix old bug in liaison tool - WG discussion lists where being
CC'ed with their list_subscribe rather than list_email address, and
the former is usually a URL, not an email address so cause a
validation error when submitting the statement
- Legacy-Id: 8868
Note: SVN reference [8733] has been migrated to Git commit 7f1683f093
This commit is contained in:
parent
c3b1e1a369
commit
030eb5ff9f
|
@ -237,18 +237,18 @@ class WGEntity(Entity):
|
|||
result = [p for p in role_persons_with_fixed_email(self.obj.parent, "ad") if p != person]
|
||||
else:
|
||||
result = []
|
||||
if self.obj.list_subscribe:
|
||||
if self.obj.list_email:
|
||||
result.append(FakePerson(name ='%s Discussion List' % self.obj.name,
|
||||
address = self.obj.list_subscribe))
|
||||
address = self.obj.list_email))
|
||||
return result
|
||||
|
||||
def get_from_cc(self, person):
|
||||
result = [p for p in role_persons_with_fixed_email(self.obj, "chair") if p != person]
|
||||
if self.obj.parent:
|
||||
result += role_persons_with_fixed_email(self.obj.parent, "ad")
|
||||
if self.obj.list_subscribe:
|
||||
if self.obj.list_email:
|
||||
result.append(FakePerson(name ='%s Discussion List' % self.obj.name,
|
||||
address = self.obj.list_subscribe))
|
||||
address = self.obj.list_email))
|
||||
return result
|
||||
|
||||
def needs_approval(self, person=None):
|
||||
|
|
Loading…
Reference in a new issue