Closed Bug 779299 Opened 13 years ago Closed 13 years ago

AttributeError: 'NoneType' object has no attribute 'id'

Categories

(developer.mozilla.org Graveyard :: Wiki pages, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: retornam, Unassigned)

References

()

Details

Traceback (most recent call last): File "/data/www/developer.mozilla.org/kuma/vendor/src/django/django/core/handlers/base.py", line 100, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/data/www/developer.mozilla.org/kuma/vendor/src/django-waffle/waffle/decorators.py", line 20, in _wrapped_view return view(request, *args, **kwargs) File "/data/www/developer.mozilla.org/kuma/vendor/src/django/django/views/decorators/http.py", line 37, in inner return func(request, *args, **kwargs) File "/data/www/developer.mozilla.org/kuma/apps/wiki/views.py", line 161, in process return func(request, *args, **kwargs) File "/data/www/developer.mozilla.org/kuma/apps/wiki/views.py", line 940, in document_revisions curr_id = doc.current_revision.id AttributeError: 'NoneType' object has no attribute 'id' There are some template errors on the page.
Just wanted to make you guys aware of this before launch tomorrow.
I think we took care of most of these doc's that were missing current_revision. If we get more stack-traces, we can re-open here.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Version: MDN → unspecified
Component: Website → Landing pages
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.