Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#14415 closed defect (worksforme)

dijit.Dialog file/class fails to load/parse via Google CDN in Dojo 1.7.0

Reported by: phusick Owned by: Rawld Gill
Priority: high Milestone: 1.7.2
Component: Loader Version: 1.7.0
Keywords: dialog loader google cdn Cc: phusick@…
Blocked By: Blocking:

Description

to reproduce:

  1. get the example code from Dialog and Tooltips Tutorial: Terms and Conditions.
  1. change line 12 to load dojo.js version 1.7.0 from Google CDN (instead of v1.6):
    <script src="http://ajax.googleapis.com/ajax/libs/dojo/1.7.0/dojo/dojo.js" type="text/javascript"></script>
    
  1. dojo loader loads class/file dijit.Dialog from Google CDN, but cannot parse it, which ends in "parser.js: 8 Uncaught Error: Could not load class 'dijit.Dialog'"
  1. to workaround this one can load dijit.Dialog class/file via script tag:
    <script src="http://ajax.googleapis.com/ajax/libs/dojo/1.7.0/dijit/Dialog.js"></script>
    

The bug can only be reproduced with Google CDN, all works fine with local copy of Dojo 1.7, both release and SDK.

browser: Firefox 8.0, Chrome 15 os: MS Windows 7 Ultimate

Change History (4)

comment:1 Changed 8 years ago by bill

Component: DijitLoader
Owner: set to Rawld Gill

Dup of other tickets already fixed in 1.7.1?

comment:2 Changed 8 years ago by bill

Milestone: tbd

comment:3 Changed 8 years ago by Rawld Gill

Resolution: wontfix
Status: newclosed

attempted to duplicate with 1.7.1. Seems to work OK.

comment:4 Changed 8 years ago by Kenneth G. Franqueiro

Milestone: tbd1.7.2
Resolution: wontfixworksforme

Yeah, this was probably fixed in 1.7.1. Changing from wontfix to worksforme (semantics!).

Note: See TracTickets for help on using tickets.