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)
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
Reporter | ||
Comment 1•8 years ago
|
||
Tracked in Sentry: https://sentry.prod.mozaws.net/operations/mdn-prod/issues/605712/
See Also: → 944186
Comment 2•8 years ago
|
||
Commit pushed to master at https://github.com/mozilla/kuma
https://github.com/mozilla/kuma/commit/9c5750b65b084ece623a66321e2c70ecf18e4b2c
bug 1365960: fix nearest-zone error when parent-topic deleted
Comment 3•8 years ago
|
||
Commit pushed to production at 10:10am Friday, May 19, 2017.
Comment 4•8 years ago
|
||
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•