Closed
Bug 809303
Opened 12 years ago
Closed 12 years ago
If the lib finds a recursive import it does not fallback to another locale
Categories
(L20n :: JS Library, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: zbraniecki, Unassigned)
References
Details
Currently, if we encounter a recursive import we just stop and throw a towel. I believe we should fallback to another locale if possible. Related to bug 801663
Comment 1•12 years ago
|
||
Hmm, I thought we were already doing the right thing here. Looking at handleException [1], it does seem like it calls invalidate on NESTED_ERROR. Maybe you hit a different bug? [1] https://github.com/l20n/l20n.js/blob/master/lib/l20n.js#L752
Reporter | ||
Comment 2•12 years ago
|
||
yeah, that's WFM. The lib works properly, but the test was limited and didn't actually test if we loaded the fallback locale. Extended the test
Reporter | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Comment 3•12 years ago
|
||
https://github.com/l20n/l20n.js/commit/7133188bab633d35491485361dd283177e8eb2dd
You need to log in
before you can comment on or make changes to this bug.
Description
•