Opened 6 years ago
Closed 6 years ago
#18556 closed defect (fixed)
Loading i18n layers produced by dojo <= 1.9.2 with dojo > 1.9.2 results in fallback error.
Reported by: | Clement Mathieu | Owned by: | Adam Peller |
---|---|---|---|
Priority: | undecided | Milestone: | 1.8.11 |
Component: | Internationalization | Version: | 1.8.6 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
The back compatibility in nls preload does not have the good behavior.
The back compatibility is done here: https://github.com/dojo/dojo/blob/master/i18n.js#L377
// backcompat bundle._localized = bundle._localized || {};
In back compatibility the behavior should be "skip the bundle improvement for now as we don't have information" (which is pre 1.9.3 behavior). But this is actually saying that there is no better bundle for this locale which may be wrong.
This is affecting versions 1.8.6+, 1.9.3+, 1.10.0+
Change History (2)
comment:1 Changed 6 years ago by
comment:2 Changed 6 years ago by
Milestone: | tbd → 1.8.11 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
I submitted a PR to solve this issue: https://github.com/dojo/dojo/pull/148