Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#14226 closed defect (fixed)

i18n extraLocales async test failure

Reported by: bill Owned by: Rawld Gill
Priority: high Milestone: 1.7.2
Component: Internationalization Version: 1.7.0
Keywords: dohfail Cc: Adam Peller
Blocked By: Blocking:

Description

Run util/doh/runner.html?test=dojo/tests/i18n and see:

GROUP "ungrouped" has 1 test to run
 Error: undefinedModule
     ERROR IN:
 		 function extraLocalesAsync(t) {
					t.is(require("dojo/i18n!dojo/tests/nls/en-us-hawaii/salutations").hello, "Aloha");
					t.is(require("dojo/i18n!dojo/tests/nls/en-us-new_york-brooklyn/salutations").hello, "Yo");
					try{
						var result = require("dojo/i18n!dojo/tests/nls/ar/salutations");
						t.f(true, "should have thrown");
					}catch(e){
						t.t(true);
					}
				}
 FAILED test: ../../dojo/tests/i18n.html::ungrouped::extraLocalesAsync 145 ms

Tested on IE8 and safari/mac.

Test was added in [25585] (when it worked correctly), but started failing with [26631] (so it's broken in 1.7 as well as trunk).

Marking for possible inclusion in 1.7.1 although not sure how serious this is.

Change History (6)

comment:1 Changed 8 years ago by bill

Keywords: dohfail added

comment:2 Changed 7 years ago by Rawld Gill

Milestone: 1.7.11.8
Status: newassigned

comment:3 Changed 7 years ago by Rawld Gill

In [27774]:

improved sniffing of i18n bundles in backcompat mode; fixed test; refs #14375; fixes #14222; refs #14226; !strict

comment:5 Changed 7 years ago by Rawld Gill

In [27776]:

missed file should have been part of [27774]; refs #14226'; !strict

comment:6 Changed 7 years ago by Rawld Gill

Resolution: fixed
Status: assignedclosed

This has been fixed and backported as part of [27795]

comment:7 Changed 7 years ago by bill

Milestone: 1.81.7.2
Note: See TracTickets for help on using tickets.