celery errors: Task kuma.wiki.tasks.build_json_data_for_document_task: "DoesNotExist('Document matching query does not exist')"

RESOLVED FIXED

Status

developer.mozilla.org
Wiki pages
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: groovecoder, Assigned: jezdez)

Tracking

Details

(Reporter)

Description

3 years ago
We received hundreds of these error emails from celery:

https://pastebin.mozilla.org/8837996

Need to diagnose & treat the source of the errors.
(Assignee)

Comment 1

3 years ago
I checked the documents mentioned in a big number of those error mails and it seems as if the wiki documents are deleted as spam. The celery task should check if those docs are logically deleted and ignore them if yes.
(Assignee)

Updated

3 years ago
Assignee: nobody → jezdez
Status: NEW → ASSIGNED

Comment 3

3 years ago
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/3c6391837b7c6f6780359d7533ca09c6b58920f1
Fix bug 1178252 - Stop updated the json blob when a wiki document is logically deleted like when it's marked as spam.

This also fixes and reenables some deferred tests that were skipped.

https://github.com/mozilla/kuma/commit/6e851d1930696f56cdf930ff58bbe4451857c8b9
Merge pull request #3289 from mozilla/bug1178252

Fix bug 1178252 - Stop updated the json blob when a wiki document is logically deleted like when it's marked as spam.

Updated

3 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.