Closed
Bug 775288
Opened 11 years ago
Closed 11 years ago
[bedrock] l10n blocks cannot be updated once on production
Categories
(www.mozilla.org :: General, defect)
www.mozilla.org
General
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: pascalc, Assigned: pmac)
References
(Blocks 1 open bug)
Details
(Whiteboard: [l10n][sb-sprint-1] u=user c=L10N p=2)
If you update text of an l10n block in the svn repo of the localizer, it works locally, it works on dev-allizom but it doesn't work on production, the file remains set to the first version of the translation. This happened twice, I had to file IT bugs to ask them to restart Apache (bug 775084, bug 774814), apparently, there is some caching in Django (or maybe jinja templates) that is causing that. Here is what Jake Maul from IT diagnosed: "These are fixed. I don't know what was wrong, but I restarted Apache on all of the prod nodes and now that block is gone. I suspect (but can not confirm) that Django's caching layer may have had old/bad data in it. www-dev gets restarted regularly, so it wouldn't be quite so affected by this kind of thing." .lang files are not affected, only l10n blocks, making the feature largely broken.
Updated•11 years ago
|
Assignee: nobody → pmac
Updated•11 years ago
|
Whiteboard: [l10n] → [l10n][sb-sprint-1]
Updated•11 years ago
|
Whiteboard: [l10n][sb-sprint-1] → [l10n][sb-sprint-1] u=user c=L10N p=2
Comment 1•11 years ago
|
||
Commit pushed to master at https://github.com/mozilla/bedrock https://github.com/mozilla/bedrock/commit/a759b55cc1311398b76994a1136122e31a8f42b8 Turn off template cache. Fix bug 775288.
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 2•11 years ago
|
||
Commit pushed to master at https://github.com/mozilla/bedrock https://github.com/mozilla/bedrock/commit/258ab841c8c660d1c32bd611ca2ba6f0d6977fe9 Bug 775288 - Force auto_reload instead of disabling caching
Comment 4•11 years ago
|
||
Test is successful! Reverted in r108116. So this is fixed without performance drawbacks. Thanks pmac and jlongster for the research.
Updated•11 years ago
|
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
Comment 5•11 years ago
|
||
Is this in production? If so let's set as verified.
Comment 6•11 years ago
|
||
Yes, this in production. Sorry for not updating.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•