Opened 6 years ago

Closed 4 years ago

#16695 closed defect (wontfix)

Dijit Checkbox Tutorial not working in Chrome

Reported by: Alpha Owned by: Kitson Kelly
Priority: undecided Milestone: 1.11
Component: Documentation Version: 1.8.0
Keywords: Cc: alphagma@…
Blocked By: Blocking:

Description (last modified by bill)

The example in the tutorial documentation (http://dojotoolkit.org/reference-guide/1.8/dijit/form/CheckBox.html) does not render properly in Chrome 25.

Tested against Chrome 25.0.1364.68 beta-m.

Console displays the following error:

Uncaught TypeError: Cannot read property 'dir' of undefined dojo.js:98

  • h.isBodyLtr dojo.js:98
  • declare.isLeftToRight _WidgetBase.js:1016
  • declare.buildRendering _WidgetBase.js:486
  • o dojo.js:65
  • declare.buildRendering _TemplatedMixin.js:125
  • declare.create _WidgetBase.js:359
  • o dojo.js:65
  • declare.create _FormWidgetMixin.js:214
  • declare.postscript _WidgetBase.js:300
  • (anonymous function) dojo.js:67
  • (anonymous function) about:blank:8
  • ba dojo.js:31
  • (anonymous function) dojo.js:24
  • ca dojo.js:32
  • Ha dojo.js:24
  • f dojo.js:15
  • (anonymous function) about:blank:7

Attachments (1)

dojoExample.png (58.2 KB) - added by Alpha 6 years ago.
Screenshot of problem

Download all attachments as: .zip

Change History (12)

Changed 6 years ago by Alpha

Attachment: dojoExample.png added

Screenshot of problem

comment:1 Changed 6 years ago by Alpha

PS: Following the ticketing documentation (http://dojotoolkit.org/get-involved) I cannot seem to add myself to the cc field, as well as edit my typo on the description. If you please, add me (alphagma at gmail) to the CC so I can get notifications on this if needed.

comment:2 Changed 6 years ago by bill

Cc: alphagma@… added
Description: modified (diff)
Milestone: tbd1.9

Hmm, I see it failing on that site, although it's working locally, and also on http://livedocs.dojotoolkit.org/dijit/form/CheckBox. Probably will fix itself when we next upgrade the site.

I did notice and fix a few bad practices in the example, but nothing that should cause it to fail.

You should register your email in trac, from http://bugs.dojotoolkit.org/prefs.

comment:3 Changed 6 years ago by Alpha

Thank you very much, Bill.

Is there any chance I can add myself to the cc of a defect I have not reported?

comment:4 Changed 6 years ago by bill

Hmm, I can do it, if you don't see the cc field then I guess unfortunatly you don't have permission. Although I think if you just write a comment on the ticket you get effectively cc'd automatically.

comment:5 Changed 6 years ago by Alpha

Thanks. I'm trying to get also cc'ed on #16305. The SO question linked there is mine and I am interested in knowing when that issue gets fixed.

Regarding the CC field. I can see it but I don't have any edition form at all, I can only comment on the ticket once I have submitted it. Is it supposed to be like that?

(Again, thanks for your help.)

comment:6 Changed 6 years ago by bill

I don't know what you mean by "edition form".

comment:7 Changed 6 years ago by Alpha

I do not have any way of modifying the ticket information at all. I can only comment and attach files.

comment:8 Changed 6 years ago by dylan

Owner: set to Kitson Kelly
Status: newassigned

I usually give these types of CodeGlass? issues to kitsonk to resolve. Assigning to him.

comment:9 Changed 6 years ago by bill

Milestone: 1.91.10

Bumping this ticket since we are past the deadline for the 1.9RC. The fix can be put into 1.9.1 too, if desired.

comment:10 Changed 5 years ago by dylan

Milestone: 1.101.11

comment:11 Changed 4 years ago by dylan

Resolution: wontfix
Status: assignedclosed

fwiw, http://dojotoolkit.org/reference-guide/1.10/dijit/form/CheckBox.html and http://dojotoolkit.org/reference-guide/1.9/dijit/form/CheckBox.html works... looks like the issue was resolved between Dojo 1.8 and 1.9, or with the example.

Note: See TracTickets for help on using tickets.