You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error reported on production is as follows (sandbox is the same, except with a debug message instead of an empty name keyword argument)
django.urls.exceptions.NoReverseMatch: Reverse for 'ietf.doc.views_doc.document_main' with keyword arguments '{'name': ''}' not found. 1 pattern(s) tried: ['doc/(?P<name>[A-Za-z0-9._+-]+?)(?:/(?P<rev>[0-9]{1,2}(-[0-9]{2})?))?/$']
Poking, it seems that assignments = ReviewAssignment.objects.filter(review__name=doc.name) on l.708 of views_doc.py is empty, which makes its way to review_req being None.
What browser(s) are you seeing the problem on?
Not Applicable
Code of Conduct
I agree to follow the IETF's Code of Conduct
The text was updated successfully, but these errors were encountered:
This is definitely a data error. Maybe code can protect itself better, but it is a violation of schema.
There are two review documents in this state at the moment, both quite old.
rjsparks
added a commit
to rjsparks/datatracker
that referenced
this issue
Apr 29, 2022
What happened?
Crash reports came in for /doc/review-ietf-v6ops-slaac-renum-03-secdir-lc-wierenga-2020-09-24/. (This is a sandbox link - effectively the same behavior is seen on production)
The error reported on production is as follows (sandbox is the same, except with a debug message instead of an empty
name
keyword argument)Poking, it seems that
assignments = ReviewAssignment.objects.filter(review__name=doc.name)
on l.708 ofviews_doc.py
is empty, which makes its way toreview_req
beingNone
.What browser(s) are you seeing the problem on?
Not Applicable
Code of Conduct
The text was updated successfully, but these errors were encountered: