Skip to content

Personal lists containing documents that are assoicated with groups that are not RG or WG cause a 500 #1421

Description

@ietf-svn-bot

resolution_fixed type_defect | by rjsparks@nostrum.com


The URL is /community/personal/

The exception is this:

Exception Type: NoReverseMatch
Exception Value:

Reverse for 'group_docs' with arguments '()' and keyword arguments '{'acronym': u'gen', 'group_type': u'area'}' not found. 1 pattern(s) tried: ['(?P<group_type>(wg|rg))/(?P[a-zA-Z0-9-._]+)/$']

The source of the exception is subtle (the traceback hides the root cause).
It stems from this line in ietf/community/display.py:

             return '<a href="%s">%s</a>' % (urlreverse('group_docs', kwargs=dict(group_type=document.group.type_id, acronym=document.group.acronym)), document.group.acronym) if (document.group and document.group.acronym != 'none')  else ''

I have a patch ready and will commit it as soon as I verify tests still pass


Issue migrated from trac:1421 at 2022-03-04 03:45:46 +0000

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions