Closed Bug 1365960 Opened 8 years ago Closed 8 years ago

Error if a translation's parent is deleted

Categories

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

All
Other
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jwhitlock, Unassigned)

References

()

Details

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

What did you do? ================ Go to https://developer.mozilla.org/ja/docs/MDN/Contribute/Structures/スクリーンキャスト What happened? ============== A 500 ISE error What should have happened? ========================== The page should have displayed Is there anything else we should know? ====================================== This page is translated from this page: https://developer.mozilla.org/en-US/docs/MDN/Contribute/Structures/Screencasts This page was deleted on May 2, 2017. Document.objects is a custom manager that filters out deleted documents, so this query raises a DoesNotExist error: get_parent_id = Document.objects.values_list('parent_topic', flat=True).get(pk=(screencast doc PK)) https://github.com/mozilla/kuma/blob/88786d47cc2d44f16a989036c497be905dd2e14a/kuma/wiki/jobs.py#L20 This new logic was added in mozilla/kuma#4234, part of bug 944186
Commit pushed to production at 10:10am Friday, May 19, 2017.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.