Opened 11 years ago

Closed 11 years ago

Last modified 8 years ago

#7643 closed defect (invalid)

Using dijit.form.ValidateTextBox attempts to load language specific validation scripts that do not exist.

Reported by: sprink Owned by:
Priority: high Milestone: 1.2
Component: Dijit - Form Version: 1.2beta
Keywords: ValidateTextBox, nls, fails to load Cc:
Blocked By: Blocking:

Description

Using dijit.form.ValidateTextBox? attempts to load two files from directories that do not exist:

dijit/form/nls/en/validate.js dijit/form/nls/en-us/validate.js

The attempt to load these files occurs immediately after loading (successfully) the following file: dijit/form/nls/validate.js

Change History (4)

comment:1 Changed 11 years ago by sprink

It seems to have ignored the line break between the path names I posted so here they are again but more clearly separated.

dijit/form/nls/en/validate.js

dijit/form/nls/en-us/validate.js

comment:2 Changed 11 years ago by sprink

Ok - I just added a ComboBox? widget to a page and now I get the same error for that widget except that the name of the file it attempts to load is "ComboBox?.js" instead of "validate.js". I think that this problem probably occurs in other widgets as well but I have not created a comprehensive list. Hopefully this is a fix that can be applied to all widgets simultaneously.

I think I should also note that I don't know if this same thing happened in Dojo 1.1.1.

(I hope I'm not being too picky with this one but it is a concern, though probably a minor one)

comment:3 Changed 11 years ago by bill

Resolution: invalid
Status: newclosed

This is expected, see the FAQ.

comment:4 Changed 8 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.