ISE for revision dashboard when filtering by some users

NEW
Unassigned

Status

Mozilla Developer Network
Dashboards
P2
normal
2 months ago
a month ago

People

(Reporter: jwhitlock, Unassigned)

Tracking

({in-triage})

Details

(Whiteboard: [specification][type:bug])

(Reporter)

Description

2 months ago
What did you do?
================
Load revision dashboard for some older users, such as clicking the "View All Activity" button on the profile:

https://developer.mozilla.org/en-US/profiles/sebmozilla 
https://developer.mozilla.org/en-US/dashboards/revisions?user=sebmozilla

What happened?
==============
An Internal Server Error is returned

What should have happened?
==========================
A list of revisions by that user, such as:

https://developer.mozilla.org/en-US/dashboards/revisions?user=jwhitlock

Is there anything else we should know?
======================================
Tracked in Sentry:

https://sentry.prod.mozaws.net/operations/mdn-prod/issues/692434/

UndefinedError:

'kuma.wiki.models.Revision_Deferred_content object' has no attribute 'previous'

It appears to be accessed here:

https://github.com/mozilla/kuma/blob/master/kuma/dashboards/jinja2/dashboards/includes/revision_dashboard_body.html#L20

and has started after this PR was merged:

https://github.com/mozilla/kuma/pull/4520
(Reporter)

Comment 1

2 months ago
The problem appears to be when a user has revisions on a soft-deleted document.
Keywords: in-triage
Priority: -- → P2
(Reporter)

Updated

a month ago
Summary: ISE for revision dashboard when filtering by user → ISE for revision dashboard when filtering by some users
You need to log in before you can comment on or make changes to this bug.