Closed
Bug 947328
Opened 12 years ago
Closed 12 years ago
[Air Mozilla] Fix a broken event's template data
Categories
(Infrastructure & Operations :: IT-Managed Tools, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: peterbe, Assigned: jd)
Details
This morning we discovered a bug [0] that after saving, broke the Event Edit page entirely so there's no way to recover.
The bug was easy to fix and that has already landed on dev but considering my pending vacation + holiday we figured it was best to wait with pushing new code (also, we have other bigger changes in the pipeline we dare not push to production)
Can you run this little migration on the production django shell?
>>> from airmozilla.main.models import Event
>>> e=Event.objects.get(id=853)
>>> e.template_environment = {'tag': '7b9t6l'}
>>> e.save()
[0] https://bugzilla.mozilla.org/show_bug.cgi?id=947238
| Assignee | ||
Comment 1•12 years ago
|
||
I ran these commands on prod and saw no errors. I guess that tells me it worked :) care to confirm?
Assignee: server-ops-webops → jcrowe
Status: NEW → ASSIGNED
| Reporter | ||
Comment 2•12 years ago
|
||
It works! You rock!
| Assignee | ||
Comment 3•12 years ago
|
||
cool
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•