Closed Bug 880203 Opened 13 years ago Closed 13 years ago

Last bugzilla update status reset on migration

Categories

(Mozilla Reps Graveyard :: reps.mozilla.org, task)

x86_64
Linux
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nemo-yiannis, Unassigned)

Details

(Whiteboard: [qa-])

The status entry that shows the last succesful sync with bugzilla gets changed to epoch time on migration. This causes fetch_bugs cronjob to fail because of the huge amount of bugs to fetch.
That's because we've a initial_data fixture that resets the Status object with pk=1. We can remove this fixture but we should make sure that get_last_updated_date and the fetch_bugs tasks doesn't die horribly if there is no Status object (and instead create it with default datetime the epoch).
Group: mozilla-reps-admins
Commits pushed to master at https://github.com/mozilla/remo https://github.com/mozilla/remo/commit/4ab5b4335caca49c8f0f905392ce1bdc55196725 [Fix bug 880203] Fix remozilla update status reset * Implement pagination in Bugzilla API query results * Remove initial data from remozilla app * Fallback to epoch time when no Status object exists https://github.com/mozilla/remo/commit/edaec25f49fe701b0a4ff8bc4c818c6c30fdc702 Merge pull request #426 from johngian/fetch_bugs [Fix bug 880203] Fix remozilla update status reset
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
Version: unspecified → 407
Product: Mozilla Reps → Mozilla Reps Graveyard
You need to log in before you can comment on or make changes to this bug.