Closed
Bug 1044195
Opened 11 years ago
Closed 10 years ago
frontend projects throw window.navigation.l10n is undefined if the locale file hasn't been generated
Categories
(Marketplace Graveyard :: Curation Tools, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
2015-03-24
People
(Reporter: krupa.mozbugs, Assigned: kngo)
References
()
Details
(Whiteboard: [ktlo])
steps to reproduce:
1. Load https://marketplace-dev.allizom.org/curate/?lang=fr
actual behavior:
Curation tool doesn't load in fr due to TypeError: e.navigator.l10n is undefined
Updated•11 years ago
|
Assignee: nobody → charmston
Comment 1•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 2•11 years ago
|
||
I now see the js error TypeError: window.navigator.l10n is undefined
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Updated•11 years ago
|
Severity: normal → trivial
Comment 3•11 years ago
|
||
It appears that it is being deployed with:
https://github.com/mozilla/zamboni/blob/master/mkt/commonplace/templates/commonplace/index.html
Instead of:
https://github.com/mozilla/transonic/blob/master/src/index.html
I don't know enough about commonplace deployments to understand how or why this is happening. Jason, Kevin, cvan, any of you have insight as to that is?
Flags: needinfo?(jthomas)
Comment 4•11 years ago
|
||
It's on purpose, index.html files in commonplace projects are only used by the damper. In production/dev/stage we use zamboni's commonplace/index.html.
To fix the same issue in discoplace, I generated .po files every locale we support. See https://github.com/mozilla/discoplace/commits/master/locale
Flags: needinfo?(jthomas)
Updated•11 years ago
|
Assignee: charmston → nobody
Updated•11 years ago
|
Blocks: Feed_OnDeck
Assignee | ||
Comment 5•11 years ago
|
||
Scott no parlez vous francais
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → WONTFIX
Assignee | ||
Comment 6•11 years ago
|
||
Affecting op dashboard.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Assignee | ||
Updated•11 years ago
|
Summary: Curation tool doesn't load in fr due to TypeError: e.navigator.l10n is undefined → frontend projects throw window.navigation.l10n is undefined if the locale file hasn't been generated
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → kngo
Severity: trivial → normal
Priority: P5 → P1
Target Milestone: --- → 2015-03-17
Assignee | ||
Comment 9•11 years ago
|
||
https://github.com/mozilla/marketplace-core-modules/pull/30
This will be pulled into op-dashboard and curation tools when they've been updated to mcm v2.x.x.
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Comment 10•11 years ago
|
||
Thanks, Kevin. Does this mean it will go into effect after next Tuesday's push?
Assignee | ||
Comment 11•11 years ago
|
||
Yeah, I have to do a bit of follow-up work, but it will make the tag to go out on Tuesday.
Comment 12•10 years ago
|
||
Verified in FF39(win7) in marketplace-dev.allizom.org
Issue is still reproducing, please view this screencast: http://screencast.com/t/af7wkR1tGQ
Closing bug.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 13•10 years ago
|
||
It was regression from mcm bump:
https://github.com/mozilla/transonic/commit/8c7ffd28781df69824af0c92bb1e44cd6767b7d0
Status: REOPENED → RESOLVED
Closed: 11 years ago → 10 years ago
Resolution: --- → FIXED
Comment 14•10 years ago
|
||
Verified as fixed in FF39(Win7) in marketplace-dev.allizom.org
Postfix screencast: http://screencast.com/t/mDWNIX7G4A
Closing bug.
Status: RESOLVED → VERIFIED
Comment 15•10 years ago
|
||
Hi,
I've seen that this issue has been solved last Friday, can you please confirm when this is going to be uplifted?
This is a very critical issue for LatAm countries. Most of staff in carriers use platformed computers (i.e. not able to modify settings or install anything), so most of the computers accessing to Operator Shelf tools are going to be configured in Spanish.
Thanks!
David
Comment 16•10 years ago
|
||
I can see the Issue reproducing again in production: http://screencast.com/t/sXBfck7lx
Yesterday when I checked on mp-dev it wasn't reproducing.
Kevin do you know if this fix was cherry picked?
Updated•10 years ago
|
Flags: needinfo?(kngo)
Assignee | ||
Comment 17•10 years ago
|
||
This has been resolved and uplifted for the Operator Shelf Tools.
It has not been uplifted for the curation tools this week, but that is not a big deal.
Flags: needinfo?(kngo)
Comment 18•10 years ago
|
||
Hi Kevin,
Do you know when we're expecting the uplift?
Cheers,
David
Flags: needinfo?(kngo)
Assignee | ||
Comment 19•10 years ago
|
||
It has been uplifted to Operator Shelf Tools yesterday.
Flags: needinfo?(kngo)
Comment 20•10 years ago
|
||
Hi Kevin,
I've tried this today (couple of hours ago) and I was still seeing the issue. Can you please do a retest? Some colleagues from the carrier partner was also experiencing this today.
Cheers!
David
Assignee | ||
Comment 21•10 years ago
|
||
Thanks so much for reporting. We're having a cache issue with the CDN, we will get that resolved promptly. I will comment again once it is resolved.
Assignee | ||
Comment 22•10 years ago
|
||
It seems we have a race condition that appears on Prod, but not Dev. I've been working on a fix for this fortunately.
I don't think we can get this out before next Tuesday since it requires a lot of code moving around. In the meantime, can you tell the users to go to https://marketplace.firefox.com/operators/?lang=en-US as a workaround? Attaching /?lang=en-US should fix this.
Status: VERIFIED → REOPENED
Flags: needinfo?(dpalomino.bugzilla)
Resolution: FIXED → ---
Updated•10 years ago
|
Flags: needinfo?(dpalomino.bugzilla)
Assignee | ||
Comment 23•10 years ago
|
||
https://github.com/mozilla/marketplace-core-modules/pull/32
https://github.com/mozilla/marketplace-gulp/pull/17
https://github.com/mozilla/fireplace/pull/1083
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → FIXED
Target Milestone: 2015-03-17 → 2015-03-24
Assignee | ||
Comment 24•10 years ago
|
||
Comment 25•10 years ago
|
||
Issue is not reproducing in mp-dev. As per comment 22 we will close this bug only after we make sure that this is working properly on production too.
Comment 26•10 years ago
|
||
Hi,
We've been testing this again, and now it's working fine when the browser is configured in other languages.
Thanks a lot!
David
Status: RESOLVED → VERIFIED
Comment 27•10 years ago
|
||
Glad it's working, David! I'm going to move it back from verified to resolved—we typically reserve that for QA.
Status: VERIFIED → RESOLVED
Closed: 10 years ago → 10 years ago
Updated•10 years ago
|
Whiteboard: [ktlo]
You need to log in
before you can comment on or make changes to this bug.
Description
•