Skip to content

Commit 3f9327e

Browse files
committed
Fix crash bug in /wg/<bofname>/charter/ page for BOFs
- Legacy-Id: 6092
1 parent b4feab1 commit 3f9327e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

ietf/wginfo/views.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,10 @@ def fill_in_charter_info(group, include_drafts=False):
6363
milestone_state = "charter" if group.state_id == "proposed" else "active"
6464
group.milestones = group.groupmilestone_set.filter(state=milestone_state).order_by('due')
6565

66-
group.charter_text = get_charter_text(group)
66+
if group.charter:
67+
group.charter_text = get_charter_text(group)
68+
else:
69+
group.charter_text = u"Not chartered yet."
6770

6871
if include_drafts:
6972
aliases = DocAlias.objects.filter(document__type="draft", document__group=group).select_related('document').order_by("name")

0 commit comments

Comments
 (0)