owner:olau@iola.dk resolution_fixed type_defect | by henrik@levkowetz.com
When this bug is triggered, Django actually doesn't manage to catch the
exception and email a stack trace, so after I put in a temporary workaround
to avoid the crash, it turns out I don't have a stack trace to show you.
Without the patches below, this is triggered by for instance /doc/rfc4515/
It is likely that this bug occurs after the bug in ticket #767 is tickled.
Workarounds to get the appropriate page to show:
Index: ietf/ietfworkflows/accounts.py
===================================================================
--- ietf/ietfworkflows/accounts.py (revision 3975)
+++ ietf/ietfworkflows/accounts.py (working copy)
@@ -53,6 +53,8 @@
def is_chair_of_streamREDESIGN(user, stream):
if is_secretariat(user):
return True
+ if isinstance(user, basestring):
+ return False
return user.is_authenticated() and bool(Role.objects.filter(group__acronym=stream.slug, name="chair", person__user=user))
Index: ietf/liaisons/accountsREDESIGN.py
===================================================================
--- ietf/liaisons/accountsREDESIGN.py (revision 3975)
+++ ietf/liaisons/accountsREDESIGN.py (working copy)
@@ -86,6 +86,8 @@
def is_secretariat(user):
+ if isinstance(user, basestring):
+ return False
return user.is_authenticated() and bool(Role.objects.filter(person__user=user, name="secr", group__acronym="secretariat"))
Issue migrated from trac:768 at 2022-03-04 01:58:33 +0000
owner:olau@iola.dkresolution_fixedtype_defect| by henrik@levkowetz.comWhen this bug is triggered, Django actually doesn't manage to catch the
exception and email a stack trace, so after I put in a temporary workaround
to avoid the crash, it turns out I don't have a stack trace to show you.
Without the patches below, this is triggered by for instance /doc/rfc4515/
It is likely that this bug occurs after the bug in ticket #767 is tickled.
Workarounds to get the appropriate page to show:
Issue migrated from trac:768 at 2022-03-04 01:58:33 +0000